CatchmentLabelCreate(ObjectId, ObjectId) Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId catchmentId,
ObjectId labelStyleId
)
Public Shared Function Create (
catchmentId As ObjectId,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId catchmentId,
ObjectId labelStyleId
)
Parameters
- catchmentId ObjectId
- The ObjectId of the Catchment on which the label is located.
- labelStyleId ObjectId
- The ObjectId of a CatchmentLabel style to use.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when catchmentId or labelStyleId is invalid.
|
See Also