DeleteColumn()

MathMatrix::DeleteColumn(int32_t) method

Deletes the specified column

void Aspose::Slides::MathText::MathMatrix::DeleteColumn(int32_t columnIndex) override

Arguments

ParameterTypeDescription
columnIndexint32_tThe zero-based index of the column to delete.

Exceptions

ExceptionDescription
System::InvalidOperationExceptionWhen you try to delete the last single column in the matrix
System::ArgumentOutOfRangeExceptionIf columnIndex less than zero or greater or equal to the ColumnCount

Remarks

Example:

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

See Also