'Usage Dim instance As IRangeSupport Dim row As Integer Dim rowCount As Integer instance.RemoveRows(row, rowCount)
Parameters
- row
- Row index at which to start removing rows
- rowCount
- Number of rows to remove
'Usage Dim instance As IRangeSupport Dim row As Integer Dim rowCount As Integer instance.RemoveRows(row, rowCount)
FarPoint.Win.Spread.Model.IRangeSupport irs; DialogResult dlg; irs = (FarPoint.Win.Spread.Model.IRangeSupport)fpSpread1.ActiveSheet.Models.Data; dlg = MessageBox.Show("Do you want to remove some columns and rows?", "RemoveColumns/Rows", MessageBoxButtons.YesNo); if (dlg == DialogResult.Yes) { irs.RemoveColumns(3, 496); irs.RemoveRows(3, 496); }
Dim irs As FarPoint.Win.Spread.Model.IRangeSupport Dim dlg As DialogResult irs = FpSpread1.ActiveSheet.Models.Data dlg = MessageBox.Show("Do you want to remove some columns and rows?", "RemoveColumns/Rows", MessageBoxButtons.YesNo) If dlg = DialogResult.Yes Then irs.RemoveColumns(3, 496) irs.RemoveRows(3, 496) End If