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.4.2516.0
Syntax
C# |
---|
public static ObjectId CreateMajor(
ObjectId styleId,
ObjectId alignmentId,
double increment
) |
Visual Basic |
---|
Public Shared Function CreateMajor ( _
styleId As ObjectId, _
alignmentId As ObjectId, _
increment As Double _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId CreateMajor(
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.
|
See Also