Creates a new instance of MatchLineLabelGroup on one side of the ViewFrameGroup with the specified label style and anchor position.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public static ObjectId Create(
	ObjectId viewFrameGroupId,
	EntitySideType side,
	ObjectId labelStyleId,
	MatchLineLabelLocationType anchorPosition
)
Visual Basic
Public Shared Function Create ( _
	viewFrameGroupId As ObjectId, _
	side As EntitySideType, _
	labelStyleId As ObjectId, _
	anchorPosition As MatchLineLabelLocationType _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId viewFrameGroupId, 
	EntitySideType side, 
	ObjectId labelStyleId, 
	MatchLineLabelLocationType anchorPosition
)

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 Matchlines where the labelGroup is to be created.
labelStyleId
Type: ObjectId
The ObjectId of MatchLineLabel style to use.
anchorPosition
Type: Autodesk.Civil..::..MatchLineLabelLocationType
The relative anchor position of MatchLineLabelGroup.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the viewFrameGroupId or labelStyleId is invalid.
System..::..InvalidOperationException Thrown when the ViewFrameGroup already contains one MatchLineLabelGroup on the specified side.

See Also