Spread Windows Forms 12.0 Product Documentation
RemoveRows Method (SheetView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RemoveRows Method
Index of first row to be removed
Number of rows to be removed
Removes the row or rows on this sheet at the specified index.
Syntax
'Declaration
 
Public Overridable Sub RemoveRows( _
   ByVal row As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim count As Integer
 
instance.RemoveRows(row, count)
public virtual void RemoveRows( 
   int row,
   int count
)

Parameters

row
Index of first row to be removed
count
Number of rows to be removed
Example
This example removes rows from the active sheet.
FarPoint.Win.Spread.SheetView sv;
sv = fpSpread1.ActiveSheet;
sv.RemoveRows(2, 496);
Dim sv As FarPoint.Win.Spread.SheetView
sv = FpSpread1.ActiveSheet
sv.RemoveRows(2, 496)
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Removing a Row or Column