[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.SetViewportPreferredHeight

SetViewportPreferredHeight Method

SetViewportPreferredHeight(int, int)

Sets the maximum height for the viewport row.

Declaration
public void SetViewportPreferredHeight(int rowViewportIndex, int value)
Public Sub SetViewportPreferredHeight(rowViewportIndex As Integer, value As Integer)
Parameters
Type Name Description
int rowViewportIndex

Viewport row index

int value

Height in pixels

SetViewportPreferredHeight(int, int, int)

Sets the maximum height for the viewport row for the specified sheet.

Declaration
public void SetViewportPreferredHeight(int sheetIndex, int rowViewportIndex, int value)
Public Sub SetViewportPreferredHeight(sheetIndex As Integer, rowViewportIndex As Integer, value As Integer)
Parameters
Type Name Description
int sheetIndex

Sheet index

int rowViewportIndex

Viewport row index

int value

Height in pixels

Exceptions
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.