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

أنظر أيضا