|
Foxit PDF SDK
|
Public Member Functions | |
| def | OFDPage () |
| Constructor. More... | |
| def | GetDisplayMatrix (left, top, width, height, rotate) |
| Get display matrix. More... | |
| def | GetHeight () |
| Get page height (unit is 1/72 inch). More... | |
| def | GetWidth () |
| Get page width (unit is 1/72 inch). More... | |
| def | IsEmpty () |
| Check whether current object is empty or not. More... | |
| def | Release () |
| Release current OFD page object. More... | |
This class is used to get information of an OFD page. Please ensure FoxitPDFSDKPython3.Library.InitializeOFDEngine has been called successfully before using this class.
| def FoxitPDFSDKPython3.OFDPage.OFDPage | ( | ) |
Constructor.
Constructor, with another OFD page object.
| def FoxitPDFSDKPython3.OFDPage.GetDisplayMatrix | ( | left, | |
| top, | |||
| width, | |||
| height, | |||
| rotate | |||
| ) |
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 FoxitPDFSDKPython3.e_Rotation0 and this should be one of these values. |
| def FoxitPDFSDKPython3.OFDPage.GetHeight | ( | ) |
Get page height (unit is 1/72 inch).
| def FoxitPDFSDKPython3.OFDPage.GetWidth | ( | ) |
Get page width (unit is 1/72 inch).
| def FoxitPDFSDKPython3.OFDPage.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| def FoxitPDFSDKPython3.OFDPage.Release | ( | ) |
Release current OFD page object.
Please call this function before FoxitPDFSDKPython3.Library.ReleaseOFDEngine to release current OFD page object.