[]
Gets the index of the top row of the specified viewport row.
public int GetViewportTopRow(int rowViewportIndex)
Public Function GetViewportTopRow(rowViewportIndex As Integer) As Integer
Type | Name | Description |
---|---|---|
int | rowViewportIndex | Viewport row index |
Type | Description |
---|---|
int | The index of the top row of the specified viewport. |
Gets the index of the top row of the specified viewport row for the specified sheet.
public int GetViewportTopRow(int sheetIndex, int rowViewportIndex)
Public Function GetViewportTopRow(sheetIndex As Integer, rowViewportIndex As Integer) As Integer
Type | Name | Description |
---|---|---|
int | sheetIndex | Sheet index |
int | rowViewportIndex | Viewport row index |
Type | Description |
---|---|
int | The index of the top row of the specified viewport. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is not valid; must be between zero and the number of sheets. |