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.280
Syntax
C#
public static ObjectId Create( Point3d location, ObjectId labelStyleId, ObjectId markerStyleId )
VB
Public Shared Function Create ( location As Point3d, labelStyleId As ObjectId, markerStyleId As ObjectId ) As ObjectId
C++
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
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the labelStyleId or markerStyleId is invalid. |