The number of a specific type of component.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
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
Int32Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the type is not supported in this label style. |