Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / GetRowHeight Method
Row index
Example


In This Topic
    GetRowHeight Method
    In This Topic
    Gets the height of the specified row.
    Syntax
    'Declaration
     
    
    Public Function GetRowHeight( _
       ByVal row As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim value As Integer
     
    value = instance.GetRowHeight(row)
    public int GetRowHeight( 
       int row
    )

    Parameters

    row
    Row index

    Return Value

    Integer with the row height in pixels
    Remarks

    To specify the height for a row, use the SetRowHeight method.

    Note: The value returned by this method does not include the width of the adjacent grid line.

    The default height for rows in the sheet is determined by the DefaultRowHeight property.

    If you prefer, you can allow users to resize rows by calling the SetRowSizeable method.

    To see the width for a column, use the GetColumnWidth method.

    Example
    This example returns the height of the specified row.
    See Also