Aspose::Cells::Cells::DeleteRows method
Contents
[
Hide
]Cells::DeleteRows(int32_t, int32_t) method
Deletes multiple rows.
bool Aspose::Cells::Cells::DeleteRows(int32_t rowIndex, int32_t totalRows)
Parameter | Type | Description |
---|---|---|
rowIndex | int32_t | The first row index to be deleted. |
totalRows | int32_t | 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 Vector
- Class Cells
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Cells::DeleteRows(int32_t, int32_t, bool) method
Deletes multiple rows in the worksheet.
bool Aspose::Cells::Cells::DeleteRows(int32_t rowIndex, int32_t totalRows, bool updateReference)
Parameter | Type | Description |
---|---|---|
rowIndex | int32_t | Index of the first row to be deleted. |
totalRows | int32_t | Count of rows to be deleted. |
updateReference | bool | Indicates whether update references in other worksheets. |
ReturnValue
See Also
- Class Vector
- Class Cells
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Cells::DeleteRows(int32_t, int32_t, const DeleteOptions&) method
Deletes multiple rows in the worksheet.
bool Aspose::Cells::Cells::DeleteRows(int32_t rowIndex, int32_t totalRows, const DeleteOptions &options)
Parameter | Type | Description |
---|---|---|
rowIndex | int32_t | Index of the first row to be deleted. |
totalRows | int32_t | Count of rows to be deleted. |
options | const DeleteOptions& | Options for the deleting operation |
ReturnValue
See Also
- Class Vector
- Class DeleteOptions
- Class Cells
- Namespace Aspose::Cells
- Library Aspose.Cells for C++