[]
Sets the top row of cells of the specified viewport row for the active sheet.
public void SetViewportTopRow(int rowViewportIndex, int value)
Public Sub SetViewportTopRow(rowViewportIndex As Integer, value As Integer)
Type | Name | Description |
---|---|---|
int | rowViewportIndex | Index of the viewport row |
int | value | Index of the row to set as the top of that viewport |
Sets the top row of cells of the specified viewport row 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 | Index of the sheet |
int | rowViewportIndex | Index of the viewport row |
int | value | Index of the row to set as the top of that viewport |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |