Creates a new instance of an AlignmentStationLabelGroup on an alignment entity with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.", false)] public static ObjectId Create( ObjectId styleId, ObjectId alignmentId, double increment )
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.", _ False)> _ Public Shared Function Create ( _ styleId As ObjectId, _ alignmentId As ObjectId, _ increment As Double _ ) As ObjectId
Visual C++
public: [ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.", false)] static ObjectId Create( ObjectId styleId, ObjectId alignmentId, double increment )
Parameters
- styleId
- Type: ObjectId
The style of the new AlignmentStationLabelGroup.
- alignmentId
- Type: ObjectId
The alignment in which the label group is located.
- increment
- Type: System.Double
Increment at which to insert major and minor station labels.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the styleId or alignmentId is invalid. |