Creates a new instance of ProfileMinorStationLabelGroup on the profile in the specified with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId styleId,
ObjectId majorStationLabelGroupId,
double increment
) |
Visual Basic |
---|
Public Shared Function Create ( _
styleId As ObjectId, _
majorStationLabelGroupId As ObjectId, _
increment As Double _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId styleId,
ObjectId majorStationLabelGroupId,
double increment
) |
Parameters
- styleId
- Type: ObjectId
The style ID of the new ProfileMinorStationLabelGroup.
- majorStationLabelGroupId
- Type: ObjectId
The object ID of major station label group.
- increment
- Type: System..::..Double
The increment value at which to insert major and minor station labels.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The styleId is invalid.
- The majorStationLabelGroupId is invalid.
- The increment value is less than 0.
|
See Also