Share

AlignmentStationLabelGroup.CreateMajor Method

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

Syntax

C#

public static ObjectId CreateMajor(
	ObjectId styleId,
	ObjectId alignmentId,
	double increment
)

VB

Public Shared Function CreateMajor ( 
	styleId As ObjectId,
	alignmentId As ObjectId,
	increment As Double
) As ObjectId

C++

public:
static ObjectId CreateMajor(
	ObjectId styleId, 
	ObjectId alignmentId, 
	double increment
)

Parameters

styleId  ObjectId
The style of the new AlignmentStationLabelGroup.
alignmentId  ObjectId
The alignment in which the label group is located.
increment  Double
Increment at which to insert major and minor station labels.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the styleId or alignmentId is invalid.

See Also

Reference

Was this information helpful?