Creates a new instance of an AlignmentTangentLabel on an alignment line sub-entity with the specified label style in the default layer.
public static ObjectId Create( AlignmentSubEntityLine subEntityLine, ObjectId labelStyleId )
Public Shared Function Create ( subEntityLine As AlignmentSubEntityLine, labelStyleId As ObjectId ) As ObjectId
public: static ObjectId Create( AlignmentSubEntityLine^ subEntityLine, ObjectId labelStyleId )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentLine. |