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: 10.3.488.0

Syntax

C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.", 
	false)]
public static ObjectId Create(
	ObjectId styleId,
	ObjectId alignmentId,
	double increment
)
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.",  _
	False)> _
Public Shared Function Create ( _
	styleId As ObjectId, _
	alignmentId As ObjectId, _
	increment As Double _
) As ObjectId
Visual C++
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.CreateMajor instead.", 
	false)]
public:
static ObjectId Create(
	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

ExceptionCondition
System..::..ArgumentException Thrown when the styleId or alignmentId is invalid.

See Also