[]
Sets the index of the top row of the specified viewport row.
public void SetViewportTopRow(int rowViewportIndex, int value)
Public Sub SetViewportTopRow(rowViewportIndex As Integer, value As Integer)
Type | Name | Description |
---|---|---|
int | rowViewportIndex | Viewport row index |
int | value | Index of the row to set as the top of that viewport |
Sets the index of the top most row of the specified viewport for the specified sheet.
public void SetViewportTopRow(int sheetIndex, int rowViewportIndex, int value)
Public Sub SetViewportTopRow(sheetIndex As Integer, rowViewportIndex As Integer, value As Integer)
Type | Name | Description |
---|---|---|
int | sheetIndex | Sheet index |
int | rowViewportIndex | Viewport row index |
int | value | Index of the column to set as the left most of that viewport |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is not valid; must be between zero and the number of sheets. |
ArgumentOutOfRangeException | Specified viewport row index is not valid; must be between zero and the number of viewport rows. |
ArgumentOutOfRangeException | Specified value is not valid; must be between zero and the number of rows in the sheet. |