Class PageConstants
Namespace: Aspose.Page.EPS
Assembly: Aspose.Page.dll (25.1.2)
تعرّف هذه الفئة مجموعة من الثوابت التي تصف صفحة.
تُقدّم كائنات ملائمة لمختلف الهوامش، الاتجاهات،
إعادة التحجيم، وأحجام الصفحات القياسية.
public class PageConstants
الوراثة
الأعضاء الموروثة
object.GetType(),
object.MemberwiseClone(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
الحقول
الخلفية
مفتاح الخلفية
public const string BACKGROUND = "Background"
قيمة الحقل
لون_الخلفية
مفتاح لون الخلفية
public const string BACKGROUND_COLOR = "BackgroundColor"
قيمة الحقل
تناسب_للصفحة
مفتاح تناسب المحتوى للصفحة
public const string FIT_TO_PAGE = "FitToPage"
قيمة الحقل
الهوامش_كبيرة
قيمة هوامش الصفحة “كبيرة”
public const string MARGINS_LARGE = "Large"
قيمة الحقل
الهوامش_متوسطة
قيمة هوامش الصفحة “متوسطة”
public const string MARGINS_MEDIUM = "Medium"
قيمة الحقل
الهوامش_صغيرة
قيمة هوامش الصفحة “صغيرة”
public const string MARGINS_SMALL = "Small"
قيمة الحقل
الهوامش_صفر
قيمة هوامش الصفحة “صفر”
public const string MARGINS_ZERO = "Zero"
قيمة الحقل
الاتجاه
مفتاح الاتجاه، للاتجاه المسمي للصفحة، عمودي أو أفقي.
public const string ORIENTATION = "Orientation"
قيمة الحقل
الاتجاه_الأفضل_تناسب
قيمة الاتجاه “الأفضل تناسب”
public const string ORIENTATION_BEST_FIT = "Best Fit"
قيمة الحقل
الاتجاه_أفقي
قيمة الاتجاه “أفقي”
public const string ORIENTATION_LANDSCAPE = "Landscape"
قيمة الحقل
الاتجاه_عمودي
قيمة الاتجاه “عمودي”
public const string ORIENTATION_PORTRAIT = "Portrait"
قيمة الحقل
هوامش_الصفحة
مفتاح هوامش الصفحة
public const string PAGE_MARGINS = "PageMargins"
قيمة الحقل
حجم_الصفحة
مفتاح حجم الصفحة
public const string PAGE_SIZE = "PageSize"
قيمة الحقل
حجم_A3
قيمة حجم الصفحة “A3”
public const string SIZE_A3 = "A3"
قيمة الحقل
حجم_A4
قيمة حجم الصفحة “A4”
public const string SIZE_A4 = "A4"
قيمة الحقل
حجم_A5
قيمة حجم الصفحة “A5”
public const string SIZE_A5 = "A5"
قيمة الحقل
حجم_A6
قيمة حجم الصفحة “A6”
public const string SIZE_A6 = "A6"
قيمة الحقل
حجم_تنفيذي
قيمة حجم الصفحة “تنفيذي”
public const string SIZE_EXECUTIVE = "Executive"
قيمة الحقل
حجم_دولي
قيمة حجم الصفحة “دولي”
public const string SIZE_INTERNATIONAL = "International"
قيمة الحقل
حجم_دفتر
قيمة حجم الصفحة “دفتر”
public const string SIZE_LEDGER = "Ledger"
قيمة الحقل
حجم_قانوني
قيمة حجم الصفحة “قانوني”
public const string SIZE_LEGAL = "Legal"
قيمة الحقل
حجم_خطاب
قيمة حجم الصفحة “خطاب”
public const string SIZE_LETTER = "Letter"
قيمة الحقل
شفاف
مفتاح الخلفية الشفافة
public const string TRANSPARENT = "Transparent"
قيمة الحقل
عرض_الاتجاه
مفتاح اتجاه العرض، لمصفوفة الدوران التي تميز اتجاه المحتوى على الصفحة. مصفوفة اتجاه العرض الافتراضية هي الهوية.
public const string VIEWING_ORIENTATION = "ViewingOrientation"
قيمة الحقل
الخصائص
قائمة الاتجاهات
public static string[] OrientationList { get; }
قيمة الخاصية
string[]
قائمة الأحجام
public static string[] SizeList { get; }
قيمة الخاصية
string[]
الطرق
GetMargins(string)
يحصل على قيم هوامش الصفحة
اسم هوامش الصفحة المحددةpublic static Margins GetMargins(string marginsSize)
المعلمات
marginsSize
string
العائدات
GetMargins(Margins, string)
تحسب هوامش الصفحة في الاتجاه المحدد
الهوامش الأصلية اتجاه الصفحةpublic static Margins GetMargins(Margins margins, string orientation)
المعلمات
margins
Margins
orientation
string
العائدات
GetSize(string)
تحسب حجم الصفحة في الاتجاه “عمودي”
حجم الصفحة المحددpublic static Size GetSize(string size)
المعلمات
size
string
العائدات
GetSize(string, string)
تحسب حجم الصفحة في الاتجاه المحدد
حجم الصفحة المحدد اتجاه الصفحةpublic static Size GetSize(string size, string orientation)
المعلمات
size
string
orientation
string
العائدات
GetSize(Size, string)
تحسب حجم الصفحة في الاتجاه المحدد
حجم الصفحة الأصلي اتجاه الصفحةpublic static Size GetSize(Size size, string orientation)
المعلمات
size
Size
orientation
string