MatchLineLabelGroupCreate(ObjectId, EntitySideType) Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId viewFrameGroupId,
EntitySideType side
)
Public Shared Function Create (
viewFrameGroupId As ObjectId,
side As EntitySideType
) As ObjectId
public:
static ObjectId Create(
ObjectId viewFrameGroupId,
EntitySideType side
)
Parameters
- viewFrameGroupId ObjectId
- The ObjectId of the ViewFrameGroup where the label group is located.
- side EntitySideType
- An enum value indicating the side of the Matchline where the labelGroup is to be created.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the viewFrameGroupId is invalid.
|
InvalidOperationException |
Thrown when the ViewFrameGroup already contains one MatchLineLabelGroup on the specified side.
|
See Also