Share

ProfileDataBandLabelGroup.GetAvailableLabelGroups Method

Note: This API is now obsolete.

Returns an ObjectIdCollection of all ProfileDataBandLabelGroup objects on the specified ProfileView.



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

Syntax

C#

[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileDataBandLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
public static ObjectIdCollection GetAvailableLabelGroups(
	ObjectId profileViewId,
	bool includeDerived
)

VB

<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileDataBandLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)>
Public Shared Function GetAvailableLabelGroups ( 
	profileViewId As ObjectId,
	includeDerived As Boolean
) As ObjectIdCollection

C++

public:
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.ProfileDataBandLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
static ObjectIdCollection^ GetAvailableLabelGroups(
	ObjectId profileViewId, 
	bool includeDerived
)

Parameters

profileViewId  ObjectId
The objectId of the profile view where the label groups are located.
includeDerived  Boolean
Indicates whether to include the derived types of ProfileDataBandLabelGroup.

Return Value

ObjectIdCollection

Exceptions

ExceptionCondition
ArgumentException Thrown when the profileViewId is invalid.

See Also

Reference

Was this information helpful?