mirror_indents property

ParagraphFormat.mirror_indents property

Gets or sets a flag indicating whether the left and right indents are of the same width.

@property
def mirror_indents(self) -> bool:
    ...

@mirror_indents.setter
def mirror_indents(self, value: bool):
    ...

Examples

Show how to make left and right indents the same.

doc = aw.Document(file_name=MY_DIR + 'Document.docx')
format = doc.first_section.body.paragraphs[0].paragraph_format
format.mirror_indents = True
doc.save(file_name=ARTIFACTS_DIR + 'ParagraphFormat.MirrorIndents.docx')

See Also