get_Justification()

MathParagraph::get_Justification() method

Paragraph Justification Default value: CenteredAsGroup

MathJustification Aspose::Slides::MathText::MathParagraph::get_Justification() override

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