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