DeleteColumn()
MathMatrix::DeleteColumn(int32_t) method
Deletes the specified column
void Aspose::Slides::MathText::MathMatrix::DeleteColumn(int32_t columnIndex) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| columnIndex | int32_t | The zero-based index of the column to delete. |
Exceptions
| Exception | Description |
|---|---|
| System::InvalidOperationException | When you try to delete the last single column in the matrix |
| System::ArgumentOutOfRangeException | If 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
- Class MathMatrix
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides