ParcelAreaLabelCreate(ObjectId, ObjectId) Method |
Creates a new instance of a ParcelAreaLabel on the specified Parcel with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId parcelId,
ObjectId labelStyleId
)
Public Shared Function Create (
parcelId As ObjectId,
labelStyleId As ObjectId
) As ObjectId
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
ObjectId
The ObjectId of the newly created ParcelAreaLabel.
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when parcelId or labelStyleId is invalid.
|
See Also