Creates a new instance of ProfileMinorStationLabelGroup on the profile in the specified with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.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

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The styleId is invalid.
  2. The majorStationLabelGroupId is invalid.
  3. The increment value is less than 0.

See Also