Visual Basic (Declaration) | |
---|---|
Public Sub Remove() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Row instance.Remove() |
C# | |
---|---|
public void Remove() |
To remove a range of rows, you can use the Rows shortcut to call this method repeatedly for a range of rows, or use the Remove method from the Rows class and specify a range of rows.
This example removes a row from the sheet.
C# | ![]() |
---|---|
FarPoint.Win.Spread.Row r; r = fpSpread1.ActiveSheet.Rows[0]; listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString()); r.Remove(); listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString()); |
Visual Basic | ![]() |
---|---|
Dim r As FarPoint.Win.Spread.Row r = FpSpread1.ActiveSheet.Rows(0) ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString()) r.Remove() ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString()) |
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