Creates a new instance of a NoteLabel with the specified label style and marker display style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( Point3d location, ObjectId labelStyleId, ObjectId markerStyleId )
Visual Basic
Public Shared Function Create ( _ location As Point3d, _ labelStyleId As ObjectId, _ markerStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( Point3d location, ObjectId labelStyleId, ObjectId markerStyleId )
Parameters
- location
- Type: Point3d
The location in the drawing for the NoteLabel.
- labelStyleId
- Type: ObjectId
The ObjectId of the style to apply to the NoteLabel (object type LabelStyle).
- markerStyleId
- Type: ObjectId
The ObjectId of the marker display style for the NoteLabel maker (object type MarkerStyle).
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the labelStyleId or markerStyleId is invalid. |