Creates a new instance of ProfileLineLabelGroup on the profile in the specified 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( ObjectId profileViewId, ObjectId profileId, ObjectId styleId )
VB
Public Shared Function Create ( profileViewId As ObjectId, profileId As ObjectId, styleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId profileViewId, ObjectId profileId, ObjectId styleId )
Parameters
- profileViewId ObjectId
- The ObjectId of profile view in which the label group is located.
- profileId ObjectId
- The ObjectId of profile in which the label group is located.
- styleId ObjectId
- The ObjectId of ProfileLineLabelGroup style.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the profileViewId, profileId or styleId is invalid. |