GetAvailableLabelGroupIds Method

Returns an ObjectIdCollection of all the available SectionOffsetLabelGroup objects on the Section in the specified SectionView.

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

Syntax

C#

public static ObjectIdCollection GetAvailableLabelGroupIds(
	ObjectId sectionViewId,
	ObjectId sectionId,
	bool includeDerived
)

Visual Basic

Public Shared Function GetAvailableLabelGroupIds ( _
	sectionViewId As ObjectId, _
	sectionId As ObjectId, _
	includeDerived As Boolean _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelGroupIds(
	ObjectId sectionViewId, 
	ObjectId sectionId, 
	bool includeDerived
)

Parameters

sectionViewId
Type: ObjectId
The ObjectId of the SectionView where the label groups are located.
sectionId
Type: ObjectId
The ObjectId of the Section where the label groups are labeling.
includeDerived
Type: System.Boolean
Indicates whether to include the derived types of SectionOffsetLabelGroup.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the sectionId or sectionViewId is invalid.

See Also