mirrorIndents property

ParagraphFormat.mirrorIndents property

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

get mirrorIndents(): boolean

Examples

Show how to make left and right indents the same.

let doc = new aw.Document(base.myDir + "Document.docx");
let format = doc.firstSection.body.paragraphs.at(0).paragraphFormat;

format.mirrorIndents = true;

doc.save(base.artifactsDir + "ParagraphFormat.mirrorIndents.docx");

See Also