Spread Silverlight Documentation
RemoveRows(Int32,Int32) Method
Example 


The index of the first row to remove.
The number of rows to remove.
Removes the row or rows on this sheet at the specified index.
Syntax
'Declaration
 
Public Overloads Sub RemoveRows( _
   ByVal row As System.Integer, _
   ByVal count As System.Integer _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim count As System.Integer
 
instance.RemoveRows(row, count)
public void RemoveRows( 
   System.int row,
   System.int count
)

Parameters

row
The index of the first row to remove.
count
The number of rows to remove.
Example
This example uses the RemoveRows method.
gcSpreadSheet1.Sheets[0].RemoveRows(0, 2);
gcSpreadSheet1.Sheets[0].RemoveRows(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells);
GcSpreadSheet1.Sheets(0).RemoveRows(0, 2)
GcSpreadSheet1.Sheets(0).RemoveRows(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.