MirrorIndents

ParagraphFormat.MirrorIndents property

Obtiene o establece un indicador que indica si las sangrías izquierda y derecha tienen el mismo ancho.

public bool MirrorIndents { get; set; }

Ejemplos

Muestra cómo hacer que las sangrías izquierda y derecha sean iguales.

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

format.MirrorIndents = true;

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

Ver también