[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.GetPreferredRowHeight

GetPreferredRowHeight Method

GetPreferredRowHeight(int)

Gets the height in pixels of the tallest cell (based on text content) in the specified row on this sheet.

Declaration
public float GetPreferredRowHeight(int row)
Public Function GetPreferredRowHeight(row As Integer) As Single
Parameters
Type Name Description
int row

Row index

Returns
Type Description
float

GetPreferredRowHeight(int, bool)

Gets the height in pixels of the tallest cell (based on text content) in the specified row on this sheet.

Declaration
public float GetPreferredRowHeight(int row, bool ignoreHeaders)
Public Function GetPreferredRowHeight(row As Integer, ignoreHeaders As Boolean) As Single
Parameters
Type Name Description
int row

Row index

bool ignoreHeaders

Whether to ignore the row header cells

Returns
Type Description
float

GetPreferredRowHeight(int, bool, bool)

Gets the height in pixels of the tallest cell (based on text content) in the specified row on this sheet.

Declaration
public float GetPreferredRowHeight(int row, bool ignoreHeaders, bool ignoreSpans)
Public Function GetPreferredRowHeight(row As Integer, ignoreHeaders As Boolean, ignoreSpans As Boolean) As Single
Parameters
Type Name Description
int row

Row index

bool ignoreHeaders

Whether to ignore the row header cells

bool ignoreSpans

Whether to ignore spans

Returns
Type Description
float

GetPreferredRowHeight(int, PreferredSizeRowOptions)

Gets the height in pixels of the tallest cell (based on text content) in the specified row on this sheet.

Declaration
public float GetPreferredRowHeight(int row, PreferredSizeRowOptions flags)
Public Function GetPreferredRowHeight(row As Integer, flags As PreferredSizeRowOptions) As Single
Parameters
Type Name Description
int row

Row index

PreferredSizeRowOptions flags

Options when getting the preferred height

Returns
Type Description
float