GetComponentsCount Method (LabelStyleComponentType)

The number of a specific type of component.

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

Syntax

C#

public int GetComponentsCount(
	LabelStyleComponentType type
)

Visual Basic

Public Function GetComponentsCount ( _
	type As LabelStyleComponentType _
) As Integer

Visual C++

public:
int GetComponentsCount(
	LabelStyleComponentType type
)

Parameters

type
Type: Autodesk.Civil.DatabaseServices.Styles.LabelStyleComponentType
Type of label style component to count.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the type is not supported in this label style.

See Also