Creates a new instance of a CatchmentLabel on the specified Catchment 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 catchmentId,
ObjectId labelStyleId
) |
| Visual Basic |
|---|
Public Shared Function Create ( _
catchmentId As ObjectId, _
labelStyleId As ObjectId _
) As ObjectId |
| Visual C++ |
|---|
public:
static ObjectId Create(
ObjectId catchmentId,
ObjectId labelStyleId
) |
Parameters
- catchmentId
- Type: ObjectId
The ObjectId of the Catchment on which the label is located.
- labelStyleId
- Type: ObjectId
The ObjectId of a CatchmentLabel style to use.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when catchmentId or labelStyleId is invalid.
|
See Also