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.4.2516.0

Syntax

C#
public static ObjectId Create(
	ObjectId alignmentId,
	ObjectId labelStyleId,
	ObjectId markerStyleId,
	Point2d location
)
Visual Basic
Public Shared Function Create ( _
	alignmentId As ObjectId, _
	labelStyleId As ObjectId, _
	markerStyleId As ObjectId, _
	location As Point2d _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId alignmentId, 
	ObjectId labelStyleId, 
	ObjectId markerStyleId, 
	Point2d location
)

Parameters

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

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentStationOffset.

See Also