LabelStyle.GetComponentsCount(LabelStyleComponentType) Method

The number of a specific type of component.



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

Syntax

C#

public int GetComponentsCount(
	LabelStyleComponentType type
)

VB

Public Function GetComponentsCount ( 
	type As LabelStyleComponentType
) As Integer

C++

public:
int GetComponentsCount(
	LabelStyleComponentType type
)

Parameters

type  LabelStyleComponentType
Type of label style component to count.

Return Value

Int32

Exceptions

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

See Also

Reference

LabelStyle Class
GetComponentsCount Overload
Autodesk.Civil.DatabaseServices.Styles Namespace