[]
Gets the maximum height of the viewport row for the active sheet.
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 of the viewport row for the active sheet. |
Gets the maximum height of 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 of the viewport row for the specified sheet. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |