ParcelAreaLabelCreate(ObjectId, ObjectId) Method

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.292
Syntax
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.
Exceptions
ExceptionCondition
ArgumentException Thrown when parcelId or labelStyleId is invalid.
See Also