Creates a new instance of a ViewFrameLabelGroup on the ViewFrameGroup with the default label style and anchor position of ViewFrameGroup.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public static ObjectId Create( ObjectId viewFrameGroupId )
Visual Basic
Public Shared Function Create ( _ viewFrameGroupId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId viewFrameGroupId )
Parameters
- viewFrameGroupId
- Type: ObjectId
The ObjectId of the ViewFrameGroup where the label group is labeling.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the viewFrameGroupId is invalid. |
System.InvalidOperationException | Thrown when the ViewFrameGroup already contains one ViewFrameLabelGroup. |