ProfileMinorStationLabelGroupCreate Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId styleId,
ObjectId majorStationLabelGroupId,
double increment
)
Public Shared Function Create (
styleId As ObjectId,
majorStationLabelGroupId As ObjectId,
increment As Double
) As ObjectId
public:
static ObjectId Create(
ObjectId styleId,
ObjectId majorStationLabelGroupId,
double increment
)
Parameters
- styleId ObjectId
- The style ID of the new ProfileMinorStationLabelGroup.
- majorStationLabelGroupId ObjectId
- The object ID of major station label group.
- increment Double
- The increment value at which to insert major and minor station labels.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The styleId is invalid.
- The majorStationLabelGroupId is invalid.
- The increment value is less than 0.
|
See Also