Creates a new instance of a ViewFrameLabelGroup on the ViewFrameGroup with the default label style and anchor position of ViewFrameGroup.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId viewFrameGroupId )
VB
Public Shared Function Create ( viewFrameGroupId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId viewFrameGroupId )
Parameters
- viewFrameGroupId ObjectId
- The ObjectId of the ViewFrameGroup where the label group is labeling.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the viewFrameGroupId is invalid. |
InvalidOperationException | Thrown when the ViewFrameGroup already contains one ViewFrameLabelGroup. |