Foxit PDF SDK
com.foxit.sdk.pdf.PageBasicInfo类 参考

Public 成员函数

 PageBasicInfo ()
 构造函数。

 
 PageBasicInfo (float width, float height, int rotation)
 带参数的构造函数。
更多...
 
 PageBasicInfo (PageBasicInfo page_info)
 使用另一个页面基本信息对象的构造函数。
更多...
 
synchronized void delete ()
 直接清除C++相关资源。 更多...
 
float getHeight ()
 Get 页面高度(单位为1/72英寸)。
更多...
 
int getRotation ()
 Get 页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。
更多...
 
float getWidth ()
 Get 页面宽度(单位为1/72英寸)。
更多...
 
void set (float width, float height, int rotation)
 设置值。
更多...
 
void setHeight (float value)
 Set 页面高度(单位为1/72英寸)。
更多...
 
void setRotation (int value)
 Set 页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。
更多...
 
void setWidth (float value)
 Set 页面宽度(单位为1/72英寸)。
更多...
 

详细描述

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

构造及析构函数说明

◆ PageBasicInfo() [1/2]

com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo ( float  width,
float  height,
int  rotation 
)

带参数的构造函数。

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

◆ PageBasicInfo() [2/2]

com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo ( PageBasicInfo  page_info)

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

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

成员函数说明

◆ delete()

synchronized void com.foxit.sdk.pdf.PageBasicInfo.delete ( )

直接清除C++相关资源。

返回
无。
注解
一旦这个接口被调用,这个对象将不能再被使用。

◆ getHeight()

com.foxit.sdk.pdf.PageBasicInfo.getHeight ( )

Get 页面高度(单位为1/72英寸)。

返回
页面高度(单位为1/72英寸)。

◆ getRotation()

com.foxit.sdk.pdf.PageBasicInfo.getRotation ( )

Get 页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。

返回
页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。

◆ getWidth()

com.foxit.sdk.pdf.PageBasicInfo.getWidth ( )

Get 页面宽度(单位为1/72英寸)。

返回
页面宽度(单位为1/72英寸)。

◆ set()

void com.foxit.sdk.pdf.PageBasicInfo.set ( float  width,
float  height,
int  rotation 
)

设置值。

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

◆ setHeight()

com.foxit.sdk.pdf.PageBasicInfo.setHeight ( float  value)

Set 页面高度(单位为1/72英寸)。

参数
[in]value页面高度(单位为1/72英寸)。
返回
None.

◆ setRotation()

com.foxit.sdk.pdf.PageBasicInfo.setRotation ( int  value)

Set 页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。

参数
[in]value页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。
返回
None.

◆ setWidth()

com.foxit.sdk.pdf.PageBasicInfo.setWidth ( float  value)

Set 页面宽度(单位为1/72英寸)。

参数
[in]value页面宽度(单位为1/72英寸)。
返回
None.