CatchmentLabel.Create(ObjectId) Method

Creates a new instance of a CatchmentLabel on the specified Catchment with the default label style.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.1516

Syntax

C#

public static ObjectId Create(
	ObjectId catchmentId
)

VB

Public Shared Function Create ( 
	catchmentId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId catchmentId
)

Parameters

catchmentId  ObjectId
The ObjectId of the Catchment on which the label is located.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when catchmentId is invalid.

See Also

Reference

CatchmentLabel Class
Create Overload
Autodesk.Civil.DatabaseServices Namespace