AlignmentPILabelCreate(AlignmentLine, ObjectId) Method |
Creates a new instance of an AlignmentPILabel on an alignment tangent in entity with the specified label style in the default layer.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
AlignmentLine tangentIn,
ObjectId labelStyleId
)
Public Shared Function Create (
tangentIn As AlignmentLine,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
AlignmentLine^ tangentIn,
ObjectId labelStyleId
)
Parameters
- tangentIn AlignmentLine
- The alignment tangent in entity of the PI.
- labelStyleId ObjectId
- The object id of label style for the label.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentTangentIntersection.
|
See Also