GrapeCity.Xaml.SpreadSheet.Data
AddRows(Int32,Int32,SheetArea) Method
Example 


GrapeCity.Xaml.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 Integer, _
   ByVal count As Integer, _
   ByVal sheetArea As SheetArea _
) 
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim count As Integer
Dim sheetArea As SheetArea
 
instance.AddRows(row, count, sheetArea)
public void AddRows( 
   int row,
   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.Xaml.SpreadSheet.Data.SheetArea.Cells);
GcSpreadSheet1.Sheets(0).AddRows(0, 2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells)
See Also

Reference

Worksheet Class
Worksheet Members
Overload List