FlowSegmentLabelCreate(FlowSegment, ObjectId) Method

Creates a new instance of a FlowSegmentLabel on the specified FlowSegment with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	FlowSegment flowSegment,
	ObjectId labelStyleId
)

Parameters

flowSegment  FlowSegment
The FlowSegment Object to create the label on.
labelStyleId  ObjectId
The ObjectId of the FlowSegmentLabel style to use.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when labelStyleId is invalid.
See Also