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.280
Syntax
C#
public static ObjectId Create( FlowSegment flowSegment, ObjectId labelStyleId )
VB
Public Shared Function Create ( flowSegment As FlowSegment, labelStyleId As ObjectId ) As ObjectId
C++
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
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when labelStyleId is invalid. |