MirrorIndents

ParagraphFormat.MirrorIndents property

Ruft ein Flag ab oder legt es fest, das angibt, ob der linke und der rechte Einzug die gleiche Breite haben.

public bool MirrorIndents { get; set; }

Beispiele

Zeigen Sie, wie Sie linke und rechte Einrückungen gleich machen.

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

format.MirrorIndents = true;

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

Siehe auch