SetColumnsAlignment()

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

Set the horizontal alignment of the specified columns

virtual void Aspose::Slides::MathText::IMathMatrix::SetColumnsAlignment(int32_t columnIndex, uint32_t columnsCount, MathHorizontalAlignment val)=0

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