Aspose::Cells::Cells::DeleteRows method

Cells::DeleteRows(int32_t, int32_t) method

Deletes several rows.

bool Aspose::Cells::Cells::DeleteRows(int32_t rowIndex, int32_t totalRows)
ParameterTypeDescription
rowIndexint32_tThe first row index to be deleted.
totalRowsint32_tCount 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

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)
ParameterTypeDescription
rowIndexint32_tIndex of the first row to be deleted.
totalRowsint32_tCount of rows to be deleted.
updateReferenceboolIndicates whether update references in other worksheets.

ReturnValue

See Also