SetColumnsAlignment()

MathMatrix::SetColumnsAlignment(int32_t, uint32_t, MathHorizontalAlignment) method

Set the horizontal alignment of the specified columns

void Aspose::Slides::MathText::MathMatrix::SetColumnsAlignment(int32_t columnIndex, uint32_t columnsCount, MathHorizontalAlignment val) override

Arguments

ParameterTypeDescription
columnIndexint32_tZero-based index of the first column to set alignment
columnsCountuint32_tThe number of columns to specify the alignment
valMathHorizontalAlignmentNew value of horizontal alignment of specified column

Remarks

Example:

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

See Also