Creates a new instance of a ViewFrameLabelGroup on the ViewFrameGroup with the specified label style and anchor position.
public static ObjectId Create( ObjectId viewFrameGroupId, ObjectId labelStyleId, ViewFrameLabelLocationType anchorPosition )
Public Shared Function Create ( viewFrameGroupId As ObjectId, labelStyleId As ObjectId, anchorPosition As ViewFrameLabelLocationType ) As ObjectId
public: static ObjectId Create( ObjectId viewFrameGroupId, ObjectId labelStyleId, ViewFrameLabelLocationType anchorPosition )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the viewFrameGroupId or labelStyleId is invalid. |
| InvalidOperationException | Thrown when the ViewFrameGroup already contains one ViewFrameLabelGroup. |