Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetPreferredRowHeight Method / GetPreferredRowHeight(Int32,Boolean) Method
Row index
Whether to ignore the row header cells


In This Topic
    GetPreferredRowHeight(Int32,Boolean) Method
    In This Topic
    Gets the height in pixels of the tallest cell (based on text content) in the specified row on this sheet.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetPreferredRowHeight( _
       ByVal row As Integer, _
       ByVal ignoreHeaders As Boolean _
    ) As Single
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim ignoreHeaders As Boolean
    Dim value As Single
     
    value = instance.GetPreferredRowHeight(row, ignoreHeaders)
    public float GetPreferredRowHeight( 
       int row,
       bool ignoreHeaders
    )

    Parameters

    row
    Row index
    ignoreHeaders
    Whether to ignore the row header cells
    See Also