CatchmentLabelCreate(ObjectId, ObjectId) Method

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