Creates a new instance of MatchLineLabelGroup on one side of the ViewFrameGroup with the default label style and anchor position.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId viewFrameGroupId,
EntitySideType side
) |
Visual Basic |
---|
Public Shared Function Create ( _
viewFrameGroupId As ObjectId, _
side As EntitySideType _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId viewFrameGroupId,
EntitySideType side
) |
Parameters
- viewFrameGroupId
- Type: ObjectId
The ObjectId of the ViewFrameGroup where the label group is located.
- side
- Type: Autodesk.Civil..::..EntitySideType
An enum value indicating the side of the Matchline where the labelGroup is to be created.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when the viewFrameGroupId is invalid.
|
System..::..InvalidOperationException |
Thrown when the ViewFrameGroup already contains one MatchLineLabelGroup on the specified side.
|
See Also