[]
Gets the number of viewport rows in the active sheet.
public int GetRowViewportCount()
Public Function GetRowViewportCount() As Integer
| Type | Description |
|---|---|
| int | The number of viewport columns |
Gets the number of viewport rows in the specified sheet.
public int GetRowViewportCount(int sheetIndex)
Public Function GetRowViewportCount(sheetIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| Type | Description |
|---|---|
| int | The number of viewport columns |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is not valid; must be between 0 and total number of sheets. |