Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SetRowHeight Method
Row index
Number of pixels for the height of the row

In This Topic
    SetRowHeight Method
    In This Topic

    Sets the height of the specified row in pixels.

    Public Sub SetRowHeight( _
       ByVal row As Integer, _
       ByVal value As Integer _
    Dim instance As SheetView
    Dim row As Integer
    Dim value As Integer
    instance.SetRowHeight(row, value)
    public void SetRowHeight( 
       int row,
       int value


    Row index
    Number of pixels for the height of the row

    Get the height for a row by calling the GetRowHeight method.

    Note: The value set by the SetRowHeight 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.

    Set the width for a column by calling the SetColumnWidth method.

    This example illustrates the use of this member by setting the height for the specified row.
    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.SetRowHeight(1, 40);
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.SetRowHeight(1, 40)
    See Also