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");

也可以看看