Foxit PDF SDK
|
Public Member Functions | |
OFDPage () | |
Constructor. | |
OFDPage (OFDPage other) | |
Constructor, with another OFD page object. | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Matrix2D | getDisplayMatrix (int left, int top, int width, int height, int rotate) throws com.foxit.sdk.PDFException |
Get display matrix. More... | |
float | getHeight () throws com.foxit.sdk.PDFException |
Get page height (unit is 1/72 inch). More... | |
float | getWidth () throws com.foxit.sdk.PDFException |
Get page width (unit is 1/72 inch). More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
void | release () |
Release current OFD page object. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
This class is used to get information of an OFD page. Please ensure common.Library.initializeOFDEngine has been called successfully before using this class.
synchronized void com.foxit.sdk.addon.ofd.OFDPage.delete | ( | ) |
Clean up related resources immediately.
Matrix2D com.foxit.sdk.addon.ofd.OFDPage.getDisplayMatrix | ( | int | left, |
int | top, | ||
int | width, | ||
int | height, | ||
int | rotate | ||
) | throws com.foxit.sdk.PDFException |
Get display matrix.
This function is used to get a matrix for displaying the page.
[in] | left | Left position of the display area. |
[in] | top | Top position of the display area. |
[in] | width | Width of the display area. |
[in] | height | Height of the display area. |
[in] | rotate | Rotation of the display area. Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values. |
float com.foxit.sdk.addon.ofd.OFDPage.getHeight | ( | ) | throws com.foxit.sdk.PDFException |
Get page height (unit is 1/72 inch).
float com.foxit.sdk.addon.ofd.OFDPage.getWidth | ( | ) | throws com.foxit.sdk.PDFException |
Get page width (unit is 1/72 inch).
boolean com.foxit.sdk.addon.ofd.OFDPage.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void com.foxit.sdk.addon.ofd.OFDPage.release | ( | ) |
Release current OFD page object.
Please call this function before common.Library.releaseOFDEngine to release current OFD page object.