get_Justification()

IMathParagraph::get_Justification() method

Paragraph Justification Default value: CenteredAsGroup

virtual MathJustification Aspose::Slides::MathText::IMathParagraph::get_Justification()=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