Aspose::Words::ParagraphFormat::get_MirrorIndents method
ParagraphFormat::get_MirrorIndents method
Gets or sets a flag indicating whether the left and right indents are of the same width.
bool Aspose::Words::ParagraphFormat::get_MirrorIndents()
Examples
Show how to make left and right indents the same.
auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Document.docx");
System::SharedPtr<Aspose::Words::ParagraphFormat> format = doc->get_FirstSection()->get_Body()->get_Paragraphs()->idx_get(0)->get_ParagraphFormat();
format->set_MirrorIndents(true);
doc->Save(get_ArtifactsDir() + u"ParagraphFormat.MirrorIndents.docx");
See Also
- Class ParagraphFormat
- Namespace Aspose::Words
- Library Aspose.Words for C++