[]
Gets the number of viewport rows.
public int GetRowViewportCount()
Public Function GetRowViewportCount() As Integer
| Type | Description |
|---|---|
| int | The number of viewport row. |
Gets the number of viewport rows for 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 row. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |