Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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