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