[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.GetViewportPreferredHeight

GetViewportPreferredHeight Method

GetViewportPreferredHeight(int)

Gets the maximum height for the viewport row.

Declaration
public int GetViewportPreferredHeight(int rowViewportIndex)
Public Function GetViewportPreferredHeight(rowViewportIndex As Integer) As Integer
Parameters
Type Name Description
int rowViewportIndex

Viewport row index

Returns
Type Description
int

GetViewportPreferredHeight(int, int)

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

Declaration
public int GetViewportPreferredHeight(int sheetIndex, int rowViewportIndex)
Public Function GetViewportPreferredHeight(sheetIndex As Integer, rowViewportIndex As Integer) As Integer
Parameters
Type Name Description
int sheetIndex

Sheet index

int rowViewportIndex

Viewport row index

Returns
Type Description
int
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is not valid; must be between 0 and total number of sheets.