Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / RowCount Property
Example


In This Topic
    RowCount Property (SheetView)
    In This Topic
    Gets or sets the number of rows in the sheet.
    Syntax
    'Declaration
     
    Public Overridable Property RowCount As Integer
    'Usage
     
    Dim instance As SheetView
    Dim value As Integer
     
    instance.RowCount = value
     
    value = instance.RowCount
    public virtual int RowCount {get; set;}

    Property Value

    Integer number of rows in the sheet
    Remarks

    To get or set the number of columns in the sheet, use the ColumnCount property.

    Example
    This example sets the sheet to have only six rows.
    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.RowCount = 6;
    
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.RowCount = 6
    See Also