Spread Silverlight Documentation
AddRows(Int32,Int32,SheetArea) Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > AddRows Method : AddRows(Int32,Int32,SheetArea) Method
The row index at which to add rows.
The number of rows to add.
The sheet area in which to add rows.
Adds rows in a specified sheet area.
Syntax
'Declaration
 
Public Overloads Sub AddRows( _
   ByVal row As System.Integer, _
   ByVal count As System.Integer, _
   ByVal sheetArea As SheetArea _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim count As System.Integer
Dim sheetArea As SheetArea
 
instance.AddRows(row, count, sheetArea)
public void AddRows( 
   System.int row,
   System.int count,
   SheetArea sheetArea
)

Parameters

row
The row index at which to add rows.
count
The number of rows to add.
sheetArea
The sheet area in which to add rows.
Example
This example uses the AddRows method.
gcSpreadSheet1.Sheets[0].AddRows(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells);
GcSpreadSheet1.Sheets(0).AddRows(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells)
See Also

Reference

Worksheet Class
Worksheet Members
Overload List