Share

MatchLineLabelGroup.Create(ObjectId, EntitySideType, ObjectId, MatchLineLabelLocationType) Method

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: 13.8.0.280

Syntax

C#

public static ObjectId Create(
	ObjectId viewFrameGroupId,
	EntitySideType side,
	ObjectId labelStyleId,
	MatchLineLabelLocationType anchorPosition
)

VB

Public Shared Function Create ( 
	viewFrameGroupId As ObjectId,
	side As EntitySideType,
	labelStyleId As ObjectId,
	anchorPosition As MatchLineLabelLocationType
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId viewFrameGroupId, 
	EntitySideType side, 
	ObjectId labelStyleId, 
	MatchLineLabelLocationType anchorPosition
)

Parameters

viewFrameGroupId  ObjectId
The ObjectId of the ViewFrameGroup where the label group is located.
side  EntitySideType
An enum value indicating the side of the Matchlines where the labelGroup is to be created.
labelStyleId  ObjectId
The ObjectId of MatchLineLabel style to use.
anchorPosition  MatchLineLabelLocationType
The relative anchor position of MatchLineLabelGroup.

Return Value

ObjectId

Exceptions

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

See Also

Reference

Was this information helpful?