Aspose::Page::EPS::PageConstants 类

PageConstants class

此类定义了一组描述页面的常量。提供了用于各种边距、方向、重新缩放和标准页面尺寸的便利对象。

class PageConstants : public System::Object

方法

方法描述
static BACKGROUND()背景键。
static BACKGROUND_COLOR()背景颜色键。
static FIT_TO_PAGE()适配内容到页面键。
static get_OrientationList()
static get_SizeList()
static GetMargins(const System::String&)获取页面边距值
static GetMargins(System::SharedPtr<Margins>, System::String)在指定方向下计算页面边距 мфдгуы
static GetSize(const System::String&)在 "Portrait" 页面方向下计算页面尺寸
static GetSize(const System::String&, const System::String&)在给定的页面方向下计算页面尺寸
static GetSize(Drawing::Size, System::String)在给定的页面方向下计算页面尺寸
static MARGINS_LARGE()"Large" 页面边距值
static MARGINS_MEDIUM()"Medium" 页面边距值
static MARGINS_SMALL()"Small" 页面边距值
static MARGINS_ZERO()"Zero" 页面边距值
static ORIENTATION()方向键,用于页面的命名方向,Portret 或 Landscape。
static ORIENTATION_BEST_FIT()"Best fit" 方向值
static ORIENTATION_LANDSCAPE()"Landscape" 方向值
static ORIENTATION_PORTRAIT()"Portrait" 方向值
static PAGE_MARGINS()Page 边距键。
static PAGE_SIZE_()Page 大小键。
static SIZE_A3()"A3" 页面尺寸值
static SIZE_A4()"A4" 页面尺寸值
static SIZE_A5()"A5" 页面尺寸值
static SIZE_A6()"A6" 页面尺寸值
static SIZE_EXECUTIVE()"Executive" 页面尺寸值
static SIZE_INTERNATIONAL()“International” 页面尺寸值
static SIZE_LEDGER()“Ledger” 页面尺寸值
static SIZE_LEGAL()“Legal” 页面尺寸值
static SIZE_LETTER()“Letter” 页面尺寸值
static TRANSPARENT()透明背景键。

字段

字段描述
static VIEWING_ORIENTATION视图方向键,用于通过旋转矩阵区分页面内容的方向。默认的视图方向矩阵是单位矩阵。

另见