Spread Windows Forms 7.0 Product Documentation
RemoveRows Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RemoveRows Method


row
Index of first row to be removed
count
Number of rows to be removed

Glossary Item Box

Removes the row or rows on this sheet at the specified index.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub RemoveRows( _
   ByVal row As Integer, _
   ByVal count As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim count As Integer
 
instance.RemoveRows(row, count)
C# 
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.
C#Copy Code
FarPoint.Win.Spread.SheetView sv;
sv = fpSpread1.ActiveSheet;
sv.RemoveRows(2, 496);
Visual BasicCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.