CellsDeleteRows Method (Int32, Int32)

Deletes several rows.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public bool DeleteRows(
	int rowIndex,
	int totalRows
)

Parameters

rowIndex
Type: SystemInt32
The first row index to be deleted.
totalRows
Type: SystemInt32
Number of rows to be deleted.

Return Value

Type: Boolean
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 as MS Excel.
See Also