JustificationMode

Document.JustificationMode property

Получает или задает настройку межсимвольного интервала в документе.

public JustificationMode JustificationMode { get; set; }

Примеры

Показывает, как управлять интервалом между символами.

Document doc = new Document(MyDir + "Document.docx");

JustificationMode justificationMode = doc.JustificationMode;
if (justificationMode == JustificationMode.Expand)                
    doc.JustificationMode = JustificationMode.Compress;

doc.Save(ArtifactsDir + "Document.SetJustificationMode.docx");

Смотрите также