StationOffsetLabelCreate Method

Creates a new instance of an AlignmentCurveLabel and adds it to the specified database.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	ObjectId alignmentId,
	ObjectId labelStyleId,
	ObjectId markerStyleId,
	Point2d location
)

Parameters

alignmentId  ObjectId
The object id of alignment to which the label is attahed.
labelStyleId  ObjectId
The object id of label style for the label.
markerStyleId  ObjectId
The object id of marker style for the label.
location  Point2d
The place in which the label is located.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentStationOffset.
See Also