[]
Gets the height of the specified viewport row for the active sheet.
public int GetViewportHeight(int rowViewportIndex, bool includeGrayArea = true)
Public Function GetViewportHeight(rowViewportIndex As Integer, Optional includeGrayArea As Boolean = True) As Integer
| Type | Name | Description |
|---|---|---|
| int | rowViewportIndex | Index of the viewport row |
| bool | includeGrayArea |
| Type | Description |
|---|---|
| int | The height of the specified viewport row. |
Gets the height of the specified viewport row of the specified sheet.
public int GetViewportHeight(int sheetIndex, int rowViewportIndex)
Public Function GetViewportHeight(sheetIndex As Integer, rowViewportIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Index of the sheet |
| int | rowViewportIndex | Index of the viewport row |
| Type | Description |
|---|---|
| int | The height of the specified viewport row. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is not valid; must be between zero and the number of sheets. |