[]
Sets the maximum height of the specified viewport row for the active sheet.
public void SetViewportPreferredHeight(int rowViewportIndex, int value)
Public Sub SetViewportPreferredHeight(rowViewportIndex As Integer, value As Integer)
Sets the maximum height of the specified viewport row for the specified sheet.
public void SetViewportPreferredHeight(int sheetIndex, int rowViewportIndex, int value)
Public Sub SetViewportPreferredHeight(sheetIndex As Integer, rowViewportIndex As Integer, value As Integer)
Type | Name | Description |
---|---|---|
int | sheetIndex | Sheet index |
int | rowViewportIndex | Row index of viewport |
int | value | Height value in pixels |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |