JustificationMode
JustificationMode enumeration
يحدد تعديل المسافة بين الأحرف في المستند. القيمة الافتراضية هييوسع .
public enum JustificationMode
قيم
| اسم | قيمة | وصف |
|---|---|---|
| Expand | 0 | لا تضغط المسافة بين الأحرف. |
| Compress | 1 | ضغط المسافة بين الأحرف. |
| CompressKana | 2 | الضغط باستخدام قواعد المقاطع الصوتية الكانا والهيراجانا والكاتاكانا. |
أمثلة
يوضح كيفية إدارة التحكم في المسافة بين الأحرف.
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");
أنظر أيضا
- مساحة الاسم Aspose.Words.Settings
- المجسم Aspose.Words