Creates a new instance of a ParcelAreaLabel on the specified Parcel with the specified label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId parcelId, ObjectId labelStyleId )
VB
Public Shared Function Create ( parcelId As ObjectId, labelStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId parcelId, ObjectId labelStyleId )
Parameters
- parcelId ObjectId
- The ObjectId of the Parcel in which the label is located.
- labelStyleId ObjectId
- The ObjectId of ParcelArea style (object type LabelStyle).
Return Value
ObjectIdThe ObjectId of the newly created ParcelAreaLabel.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when parcelId or labelStyleId is invalid. |