Cells.DeleteRows
Contents
[
Hide
]DeleteRows(int, int)
Deletes several rows.
public bool DeleteRows(int rowIndex, int totalRows)
Parameter | Type | Description |
---|---|---|
rowIndex | Int32 | The first row index to be deleted. |
totalRows | Int32 | Count of rows to be deleted. |
Remarks
If the deleted range contains the top part(not whole) of the table(ListObject), the ranged could not be deleted and nothing will be done. It works in the same way with MS Excel.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
DeleteRows(int, int, bool)
Deletes multiple rows in the worksheet.
public bool DeleteRows(int rowIndex, int totalRows, bool updateReference)
Parameter | Type | Description |
---|---|---|
rowIndex | Int32 | Index of the first row to be deleted. |
totalRows | Int32 | Count of rows to be deleted. |
updateReference | Boolean | Indicates whether update references in other worksheets. |
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells