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.4.2516.0
Syntax
| C# |
|---|
public static ObjectId Create(
ObjectId parcelId,
ObjectId labelStyleId
) |
| Visual Basic |
|---|
Public Shared Function Create ( _
parcelId As ObjectId, _
labelStyleId As ObjectId _
) As ObjectId |
| Visual C++ |
|---|
public:
static ObjectId Create(
ObjectId parcelId,
ObjectId labelStyleId
) |
Parameters
- parcelId
- Type: ObjectId
The ObjectId of the Parcel in which the label is located.
- labelStyleId
- Type: ObjectId
The ObjectId of ParcelArea style (object type LabelStyle).
Return Value
The ObjectId of the newly created ParcelAreaLabel.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when parcelId or labelStyleId is invalid.
|
See Also