AlignmentCurveLabelCreate(AlignmentSubEntityArc, ObjectId) Method

Creates a new instance of an AlignmentCurveLabel on an alignment arc sub-entity with the specified label style in the default layer.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	AlignmentSubEntityArc subEntityArc,
	ObjectId labelStyleId
)

Parameters

subEntityArc  AlignmentSubEntityArc
The alignment arc sub-entity in which the label is located.
labelStyleId  ObjectId
The object id of label style for the label.

Return Value

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