NoteLabelCreate(Point3d, ObjectId, ObjectId) Method

Creates a new instance of a NoteLabel with the specified label style and marker display style.

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

Parameters

location  Point3d
The location in the drawing for the NoteLabel.
labelStyleId  ObjectId
The ObjectId of the style to apply to the NoteLabel (object type LabelStyle).
markerStyleId  ObjectId
The ObjectId of the marker display style for the NoteLabel maker (object type MarkerStyle).

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the labelStyleId or markerStyleId is invalid.
See Also