[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.SetViewportPreferredHeight

SetViewportPreferredHeight Method

SetViewportPreferredHeight(int, int)

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

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

Row index of viewport

int value

Height value in pixels

SetViewportPreferredHeight(int, int, int)

Sets the maximum height of the specified 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

Row index of viewport

int value

Height value in pixels

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and the total number of sheets