AreaReinforcement.GetNumberOfLines
Method
Description:
Gets the number of lines on the specified layer. It also counts the excluded ones.
Gets the number of lines on the specified layer. It also counts the excluded ones.
Parameters
| Parameter | Type | Description |
|---|---|---|
| layer | AreaReinforcementLayerType | The layer type for which will return the number of lines. |
Return Value
| Type | Description |
|---|---|
| Int32 | Returns the number of lines on the specified layer. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
| InapplicableDataException | The layer layer isn't active. |