Create Method (ObjectId)

Creates a new instance of a ViewFrameLabelGroup on the ViewFrameGroup with the default label style and anchor position of ViewFrameGroup.

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

Syntax

C#

public static ObjectId Create(
	ObjectId viewFrameGroupId
)

Visual Basic

Public Shared Function Create ( _
	viewFrameGroupId As ObjectId _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	ObjectId viewFrameGroupId
)

Parameters

viewFrameGroupId
Type: ObjectId
The ObjectId of the ViewFrameGroup where the label group is labeling.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the viewFrameGroupId is invalid.
System.InvalidOperationException Thrown when the ViewFrameGroup already contains one ViewFrameLabelGroup.

See Also