Class PageConstants

Class PageConstants

Namespace: Aspose.Page.EPS
Assembly: Aspose.Page.dll (25.1.2)

تعرّف هذه الفئة مجموعة من الثوابت التي تصف صفحة.
تُقدّم كائنات ملائمة لمختلف الهوامش، الاتجاهات،
إعادة التحجيم، وأحجام الصفحات القياسية.

public class PageConstants

الوراثة

objectPageConstants

الأعضاء الموروثة

object.GetType(),
object.MemberwiseClone(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()

الحقول

الخلفية

مفتاح الخلفية

public const string BACKGROUND = "Background"

قيمة الحقل

string

لون_الخلفية

مفتاح لون الخلفية

public const string BACKGROUND_COLOR = "BackgroundColor"

قيمة الحقل

string

تناسب_للصفحة

مفتاح تناسب المحتوى للصفحة

public const string FIT_TO_PAGE = "FitToPage"

قيمة الحقل

string

الهوامش_كبيرة

قيمة هوامش الصفحة “كبيرة”

public const string MARGINS_LARGE = "Large"

قيمة الحقل

string

الهوامش_متوسطة

قيمة هوامش الصفحة “متوسطة”

public const string MARGINS_MEDIUM = "Medium"

قيمة الحقل

string

الهوامش_صغيرة

قيمة هوامش الصفحة “صغيرة”

public const string MARGINS_SMALL = "Small"

قيمة الحقل

string

الهوامش_صفر

قيمة هوامش الصفحة “صفر”

public const string MARGINS_ZERO = "Zero"

قيمة الحقل

string

الاتجاه

مفتاح الاتجاه، للاتجاه المسمي للصفحة، عمودي أو أفقي.

public const string ORIENTATION = "Orientation"

قيمة الحقل

string

الاتجاه_الأفضل_تناسب

قيمة الاتجاه “الأفضل تناسب”

public const string ORIENTATION_BEST_FIT = "Best Fit"

قيمة الحقل

string

الاتجاه_أفقي

قيمة الاتجاه “أفقي”

public const string ORIENTATION_LANDSCAPE = "Landscape"

قيمة الحقل

string

الاتجاه_عمودي

قيمة الاتجاه “عمودي”

public const string ORIENTATION_PORTRAIT = "Portrait"

قيمة الحقل

string

هوامش_الصفحة

مفتاح هوامش الصفحة

public const string PAGE_MARGINS = "PageMargins"

قيمة الحقل

string

حجم_الصفحة

مفتاح حجم الصفحة

public const string PAGE_SIZE = "PageSize"

قيمة الحقل

string

حجم_A3

قيمة حجم الصفحة “A3”

public const string SIZE_A3 = "A3"

قيمة الحقل

string

حجم_A4

قيمة حجم الصفحة “A4”

public const string SIZE_A4 = "A4"

قيمة الحقل

string

حجم_A5

قيمة حجم الصفحة “A5”

public const string SIZE_A5 = "A5"

قيمة الحقل

string

حجم_A6

قيمة حجم الصفحة “A6”

public const string SIZE_A6 = "A6"

قيمة الحقل

string

حجم_تنفيذي

قيمة حجم الصفحة “تنفيذي”

public const string SIZE_EXECUTIVE = "Executive"

قيمة الحقل

string

حجم_دولي

قيمة حجم الصفحة “دولي”

public const string SIZE_INTERNATIONAL = "International"

قيمة الحقل

string

حجم_دفتر

قيمة حجم الصفحة “دفتر”

public const string SIZE_LEDGER = "Ledger"

قيمة الحقل

string

حجم_قانوني

قيمة حجم الصفحة “قانوني”

public const string SIZE_LEGAL = "Legal"

قيمة الحقل

string

حجم_خطاب

قيمة حجم الصفحة “خطاب”

public const string SIZE_LETTER = "Letter"

قيمة الحقل

string

شفاف

مفتاح الخلفية الشفافة

public const string TRANSPARENT = "Transparent"

قيمة الحقل

string

عرض_الاتجاه

مفتاح اتجاه العرض، لمصفوفة الدوران التي تميز اتجاه المحتوى على الصفحة. مصفوفة اتجاه العرض الافتراضية هي الهوية.

public const string VIEWING_ORIENTATION = "ViewingOrientation"

قيمة الحقل

string

الخصائص

قائمة الاتجاهات

قيم الاتجاهات المتاحة

public static string[] OrientationList { get; }

قيمة الخاصية

string[]

قائمة الأحجام

قيم أحجام الصفحات المتاحة

public static string[] SizeList { get; }

قيمة الخاصية

string[]

الطرق

GetMargins(string)

يحصل على قيم هوامش الصفحة

اسم هوامش الصفحة المحددة قيم هوامش الصفحة المحددة
public static Margins GetMargins(string marginsSize)

المعلمات

marginsSize string

العائدات

Margins

GetMargins(Margins, string)

تحسب هوامش الصفحة في الاتجاه المحدد

الهوامش الأصلية اتجاه الصفحة هوامش الصفحة المحددة للاتجاه المعطى
public static Margins GetMargins(Margins margins, string orientation)

المعلمات

margins Margins

orientation string

العائدات

Margins

GetSize(string)

تحسب حجم الصفحة في الاتجاه “عمودي”

حجم الصفحة المحدد حجم الصفحة المحسوب
public static Size GetSize(string size)

المعلمات

size string

العائدات

Size

GetSize(string, string)

تحسب حجم الصفحة في الاتجاه المحدد

حجم الصفحة المحدد اتجاه الصفحة حجم الصفحة المحسوب
public static Size GetSize(string size, string orientation)

المعلمات

size string

orientation string

العائدات

Size

GetSize(Size, string)

تحسب حجم الصفحة في الاتجاه المحدد

حجم الصفحة الأصلي اتجاه الصفحة حجم الصفحة المحسوب
public static Size GetSize(Size size, string orientation)

المعلمات

size Size

orientation string

العائدات

Size

 عربي