DeleteRow()

MathMatrix::DeleteRow(int32_t) method

Deletes the specified row

void Aspose::Slides::MathText::MathMatrix::DeleteRow(int32_t rowIndex) override

Arguments

ParameterTypeDescription
rowIndexint32_tThe zero-based index of the row to delete.

Exceptions

ExceptionDescription
System::InvalidOperationExceptionWhen you try to delete the last single row in the matrix
System::ArgumentOutOfRangeExceptionIf rowIndex less than zero or greater or equal to the RowCount

Remarks

Example:

auto matrix = System::MakeObject<MathMatrix>(2, 3);
matrix->DeleteRow(0);

See Also