FlowSegmentLabelCreate(FlowSegment, ObjectId) Method |
Creates a new instance of a FlowSegmentLabel on the specified FlowSegment with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
FlowSegment flowSegment,
ObjectId labelStyleId
)
Public Shared Function Create (
flowSegment As FlowSegment,
labelStyleId As ObjectId
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when labelStyleId is invalid.
|
See Also