set_Justification()

IMathParagraph::set_Justification(MathJustification) method

Paragraph Justification Default value: CenteredAsGroup

virtual void Aspose::Slides::MathText::IMathParagraph::set_Justification(MathJustification value)=0

Remarks

Example:

auto shape = slide->get_Shapes()->AddMathShape(x, y, width, height);
auto mathParagraph = (System::AsCast<MathPortion>(shape->get_TextFrame()->get_Paragraphs()->idx_get(0)->get_Portions()->idx_get(0)))->get_MathParagraph();
mathParagraph->set_Justification(MathJustification::LeftJustified);

See Also