[]
Sets the maximum height for the viewport row.
public void SetViewportPreferredHeight(int rowViewportIndex, int value)
Public Sub SetViewportPreferredHeight(rowViewportIndex As Integer, value As Integer)
Sets the maximum height for the 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 | Viewport row index |
int | value | Height in pixels |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is not valid; must be between 0 and total number of sheets. |
ArgumentOutOfRangeException | Specified viewport row index is not valid; must be between 0 and total number of viewport rows. |