ProfileStationLabelGroupCreateMajor Method

Creates a new instance of a ProfileStationLabelGroup on the Profile in the specified ProfileView with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId CreateMajor(
	ObjectId profileViewId,
	ObjectId profileId,
	ObjectId styleId,
	double increment
)

Parameters

profileViewId  ObjectId
The ObjectId of the ProfileView in which the label group is located.
profileId  ObjectId
The ObjectId of the Profile in which the label group is located.
styleId  ObjectId
The ObjectId of the ProfileStationLabelGroup style to use.
increment  Double
The increment value at which to insert major and minor station labels.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the profileViewId, profileId or styleId is invalid.
See Also