set_Justification()
MathParagraph::set_Justification(MathJustification) method
Paragraph Justification Default value: CenteredAsGroup
void Aspose::Slides::MathText::MathParagraph::set_Justification(MathJustification value) 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
- Enum MathJustification
- Class MathParagraph
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides