Spread for ASP.NET 11 Product Documentation
RowCount Property (SheetView)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : RowCount Property
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

Reference

SheetView Class
SheetView Members
ColumnCount Property

User-Task Documentation

Customizing the Number of Rows or Columns