Creates a new instance of a CatchmentLabel on the specified Catchment with the specified label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId catchmentId, ObjectId labelStyleId )
VB
Public Shared Function Create ( catchmentId As ObjectId, labelStyleId As ObjectId ) As ObjectId
C++
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
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when catchmentId or labelStyleId is invalid. |