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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Removing a Row or Column

 

 


Copyright © GrapeCity, inc. All rights reserved.