JustificationMode

JustificationMode enumeration

يحدد تعديل المسافة بين الأحرف في المستند. القيمة الافتراضية هييوسع .

public enum JustificationMode

قيم

اسمقيمةوصف
Expand0لا تضغط المسافة بين الأحرف.
Compress1ضغط المسافة بين الأحرف.
CompressKana2الضغط باستخدام قواعد المقاطع الصوتية الكانا والهيراجانا والكاتاكانا.

أمثلة

يوضح كيفية إدارة التحكم في المسافة بين الأحرف.

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

أنظر أيضا