|
Foxit PDF SDK
|
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 的返回类型。
| 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 。 |
| com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo | ( | PageBasicInfo | page_info | ) |
使用另一个页面基本信息对象的构造函数。
| [in] | page_info | 另一个页面基本信息对象。 |
| synchronized void com.foxit.sdk.pdf.PageBasicInfo.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.pdf.PageBasicInfo.getHeight | ( | ) |
Get 页面高度(单位为1/72英寸)。
| com.foxit.sdk.pdf.PageBasicInfo.getRotation | ( | ) |
Get 页面旋转。请参考从 com.foxit.sdk.common.Constants.e_Rotation0 开始的值, 这应该是这些值中的一个。
| com.foxit.sdk.pdf.PageBasicInfo.getWidth | ( | ) |
Get 页面宽度(单位为1/72英寸)。
| 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 。 |
| com.foxit.sdk.pdf.PageBasicInfo.setHeight | ( | float | value | ) |
Set 页面高度(单位为1/72英寸)。
| [in] | value | 页面高度(单位为1/72英寸)。 |
| 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 开始的值, 这应该是这些值中的一个。 |
| com.foxit.sdk.pdf.PageBasicInfo.setWidth | ( | float | value | ) |
Set 页面宽度(单位为1/72英寸)。
| [in] | value | 页面宽度(单位为1/72英寸)。 |