Spread WPF Documentation
RowCount Property (ExcelWorksheet)


GrapeCity.Excel Namespace > ExcelWorksheet Class : RowCount Property
Get or set the row count.
Syntax
'Declaration
 
Public Property RowCount As System.Integer
'Usage
 
Dim instance As ExcelWorksheet
Dim value As System.Integer
 
instance.RowCount = value
 
value = instance.RowCount
public System.int RowCount {get; set;}

Property Value

The int indicate the row count. The default value is 0.
Exceptions
ExceptionDescription
The value is less than 0.
Remarks
If the new value is less than current, all existed ExcelCell which row index is great than new value would be removed; And all existed ExcelRow which index is great than new value would be removed.
See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members