Foxit PDF SDK
foxit::pdf::PageBasicInfo类 参考

继承自 Object .

Public 成员函数

 PageBasicInfo (float width, float height, common::Rotation rotation)
 带参数的构造函数。 更多...
 
 PageBasicInfo ()
 构造函数。
 
 PageBasicInfo (const PageBasicInfo &page_info)
 使用另一个页面基本信息对象的构造函数。 更多...
 
PageBasicInfooperator= (const PageBasicInfo &page_info)
 赋值操作符。 更多...
 
void Set (float width, float height, common::Rotation rotation)
 设置值。 更多...
 

Public 属性

float height
 页面高度(单位为1/72英寸)。
 
common::Rotation rotation
 页面旋转。请参考从 common::e_Rotation0 开始的值, 这应该是这些值中的一个。
 
float width
 页面宽度(单位为1/72英寸)。
 

详细描述

此类表示页面基本信息,如页面宽度、页面高度和页面旋转。 这用作函数 PDFDoc::GetPageBasicInfo 的返回类型。

构造及析构函数说明

◆ PageBasicInfo() [1/2]

foxit::pdf::PageBasicInfo::PageBasicInfo ( float  width,
float  height,
common::Rotation  rotation 
)
inline

带参数的构造函数。

参数
[in]width页面宽度(单位为1/72英寸)。
[in]height页面高度(单位为1/72英寸)。
[in]rotation页面旋转。请参考从 common::e_Rotation0 开始的值, 这应该是这些值中的一个,除了 common::e_RotationUnknown

◆ PageBasicInfo() [2/2]

foxit::pdf::PageBasicInfo::PageBasicInfo ( const PageBasicInfo page_info)
inline

使用另一个页面基本信息对象的构造函数。

参数
[in]page_info另一个页面基本信息对象。

成员函数说明

◆ operator=()

PageBasicInfo& foxit::pdf::PageBasicInfo::operator= ( const PageBasicInfo page_info)
inline

赋值操作符。

参数
[in]page_info另一个页面基本信息对象,其值将赋给当前对象。
返回
当前对象自身的引用。

◆ Set()

void foxit::pdf::PageBasicInfo::Set ( float  width,
float  height,
common::Rotation  rotation 
)
inline

设置值。

参数
[in]width页面宽度(单位为1/72英寸)。
[in]height页面高度(单位为1/72英寸)。
[in]rotation页面旋转。请参考从 common::e_Rotation0 开始的值, 这应该是这些值中的一个,除了 common::e_RotationUnknown
返回
无。