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