[]
Gets the index of the active viewport row for the active sheet.
public int GetActiveRowViewportIndex()
Public Function GetActiveRowViewportIndex() As Integer
| Type | Description |
|---|---|
| int | The index of the active viewport row for the active sheet. |
Gets the index of the active viewport row for the specified sheet.
public int GetActiveRowViewportIndex(int sheetIndex)
Public Function GetActiveRowViewportIndex(sheetIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| Type | Description |
|---|---|
| int | The index of the active viewport row for the specified sheet. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |