NoteLabelCreate(Point3d, ObjectId, ObjectId) Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
Point3d location,
ObjectId labelStyleId,
ObjectId markerStyleId
)
Public Shared Function Create (
location As Point3d,
labelStyleId As ObjectId,
markerStyleId As ObjectId
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the labelStyleId or markerStyleId is invalid.
|
See Also