Creates a new instance of an AlignmentIndexedPILabel on an alignment SCS group entity with the specified label style in the default layer.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( AlignmentSCS scs, ObjectId labelStyleId )
Visual Basic
Public Shared Function Create ( _ scs As AlignmentSCS, _ labelStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( AlignmentSCS^ scs, ObjectId labelStyleId )
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentPointOfIntersection. |