MirrorIndents

ParagraphFormat.MirrorIndents property

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

public bool MirrorIndents { get; set; }

Examples

Show how to make left and right indents the same.

Document doc = new Document(MyDir + "Document.docx");
ParagraphFormat format = doc.FirstSection.Body.Paragraphs[0].ParagraphFormat;

format.MirrorIndents = true;

doc.Save(ArtifactsDir + "ParagraphFormat.MirrorIndents.docx");

See Also