|
Foxit PDF SDK
|
Public Member Functions | |
| PageBasicInfo (float width, float height, int rotation) | |
| Constructor, with parameters. More... | |
| PageBasicInfo () | |
| Constructor. | |
| PageBasicInfo (PageBasicInfo page_info) | |
| Constructor, with another page basic information object. More... | |
| synchronized void | delete () |
| Clean up related resources immediately. More... | |
| float | getHeight () |
| Get page height (unit is 1/72 inch). More... | |
| int | getRotation () |
| Get page rotation. More... | |
| float | getWidth () |
| Get page width (unit is 1/72 inch). More... | |
| void | set (float width, float height, int rotation) |
| Set value. More... | |
| void | setHeight (float value) |
| Set page height (unit is 1/72 inch). More... | |
| void | setRotation (int value) |
| Set page rotation. More... | |
| void | setWidth (float value) |
| Set page width (unit is 1/72 inch). More... | |
This class represents page basic information, such as page width, page height, and page rotation. This is used as the return type of function PDFDoc.getPageBasicInfo .
| com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo | ( | float | width, |
| float | height, | ||
| int | rotation | ||
| ) |
Constructor, with parameters.
| [in] | width | Page width (unit is 1/72 inch). |
| [in] | height | Page height (unit is 1/72 inch). |
| [in] | rotation | Page rotation. Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values except com.foxit.sdk.common.Constants.e_RotationUnknown . |
| com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo | ( | PageBasicInfo | page_info | ) |
Constructor, with another page basic information object.
| [in] | page_info | Another page basic information object. |
| synchronized void com.foxit.sdk.pdf.PageBasicInfo.delete | ( | ) |
Clean up related resources immediately.
| com.foxit.sdk.pdf.PageBasicInfo.getHeight | ( | ) |
Get page height (unit is 1/72 inch).
| com.foxit.sdk.pdf.PageBasicInfo.getRotation | ( | ) |
Get page rotation.
| com.foxit.sdk.pdf.PageBasicInfo.getWidth | ( | ) |
Get page width (unit is 1/72 inch).
| void com.foxit.sdk.pdf.PageBasicInfo.set | ( | float | width, |
| float | height, | ||
| int | rotation | ||
| ) |
Set value.
| [in] | width | Page width (unit is 1/72 inch). |
| [in] | height | Page height (unit is 1/72 inch). |
| [in] | rotation | Page rotation. Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values except com.foxit.sdk.common.Constants.e_RotationUnknown . |
| com.foxit.sdk.pdf.PageBasicInfo.setHeight | ( | float | value | ) |
Set page height (unit is 1/72 inch).
| [in] | value | Page height (unit is 1/72 inch). |
| com.foxit.sdk.pdf.PageBasicInfo.setRotation | ( | int | value | ) |
Set page rotation.
| [in] | value | Page rotation. Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values. |
| com.foxit.sdk.pdf.PageBasicInfo.setWidth | ( | float | value | ) |
Set page width (unit is 1/72 inch).
| [in] | value | Page width (unit is 1/72 inch). |