Spread WPF Documentation
RowCount Property (ExcelWorksheet)


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
System.ArgumentOutOfRangeExceptionThe 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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.