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