MirrorIndents

ParagraphFormat.MirrorIndents property

Obtient ou définit un indicateur indiquant si les retraits gauche et droit ont la même largeur.

public bool MirrorIndents { get; set; }

Exemples

Montrez comment rendre les retraits à gauche et à droite identiques.

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

format.MirrorIndents = true;

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

Voir également