Class PageConstants
名称: Aspose.Page.EPS 集合: Aspose.Page.dll (25.4.0)
此类定义一组常态,描述一页。舒适的物品提供各种边缘,方向,重定向和标准页面大小。
public class PageConstants
Inheritance
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Fields
BACKGROUND
背景密钥
public const string BACKGROUND = "Background"
领域价值
BACKGROUND_COLOR
背景颜色密钥
public const string BACKGROUND_COLOR = "BackgroundColor"
领域价值
FIT_TO_PAGE
适合页面密钥的内容
public const string FIT_TO_PAGE = "FitToPage"
领域价值
MARGINS_LARGE
“大”页面边缘值
public const string MARGINS_LARGE = "Large"
领域价值
MARGINS_MEDIUM
“中间”页面边缘值
public const string MARGINS_MEDIUM = "Medium"
领域价值
MARGINS_SMALL
“小”页面边缘值
public const string MARGINS_SMALL = "Small"
领域价值
MARGINS_ZERO
“零”页面边缘值
public const string MARGINS_ZERO = "Zero"
领域价值
ORIENTATION
方向密钥,为页面,肖像或景观的名称方向。
public const string ORIENTATION = "Orientation"
领域价值
ORIENTATION_BEST_FIT
“最适合”指向值
public const string ORIENTATION_BEST_FIT = "Best Fit"
领域价值
ORIENTATION_LANDSCAPE
“Landscape”指向值
public const string ORIENTATION_LANDSCAPE = "Landscape"
领域价值
ORIENTATION_PORTRAIT
“肖像”指向价值
public const string ORIENTATION_PORTRAIT = "Portrait"
领域价值
PAGE_MARGINS
页面边缘密钥
public const string PAGE_MARGINS = "PageMargins"
领域价值
PAGE_SIZE
页面大小密钥
public const string PAGE_SIZE = "PageSize"
领域价值
SIZE_A3
“A3”页面大小值
public const string SIZE_A3 = "A3"
领域价值
SIZE_A4
“A4”页面大小值
public const string SIZE_A4 = "A4"
领域价值
SIZE_A5
“A5”页面大小值
public const string SIZE_A5 = "A5"
领域价值
SIZE_A6
“A6”页面大小值
public const string SIZE_A6 = "A6"
领域价值
SIZE_EXECUTIVE
“执行”页面大小值
public const string SIZE_EXECUTIVE = "Executive"
领域价值
SIZE_INTERNATIONAL
“国际”页面大小值
public const string SIZE_INTERNATIONAL = "International"
领域价值
SIZE_LEDGER
“Ledger” 页面大小值
public const string SIZE_LEDGER = "Ledger"
领域价值
SIZE_LEGAL
“合法”页面大小值
public const string SIZE_LEGAL = "Legal"
领域价值
SIZE_LETTER
“Letter” 页面大小值
public const string SIZE_LETTER = "Letter"
领域价值
TRANSPARENT
透明背景密钥
public const string TRANSPARENT = "Transparent"
领域价值
VIEWING_ORIENTATION
查看方向密钥,为旋转矩阵区分页面内容的方向。
public const string VIEWING_ORIENTATION = "ViewingOrientation"
领域价值
Properties
OrientationList
public static string[] OrientationList { get; }
财产价值
string ( )
SizeList
public static string[] SizeList { get; }
财产价值
string ( )
Methods
GetMargins(线条)
获取页面边缘值
预定义页面边缘名称预定义页面边缘值
public static Margins GetMargins(string marginsSize)
Parameters
marginsSize
string
Returns
GetMargins(马格林,String)
计算页面边缘 mfdguы 在指定的方向
原始边缘
页面方向Zredefined page margins for given orientation 已定义的页面边缘
public static Margins GetMargins(Margins margins, string orientation)
Parameters
margins
Margins
orientation
string
Returns
GetSize(线条)
在“肖像”页面导向中计算页面大小
预定页面大小计算页面大小
public static Size GetSize(string size)
Parameters
size
string
Returns
GetSize(字符串, string)
计算特定页面方向中的页面大小
预定页面大小
页面方向计算页面大小
public static Size GetSize(string size, string orientation)
Parameters
size
string
orientation
string
Returns
GetSize(尺寸, string)
计算特定页面方向中的页面大小
原创页面大小
页面方向计算页面大小
public static Size GetSize(Size size, string orientation)
Parameters
size
Size
orientation
string