|
Foxit PDF SDK
|
Public Member Functions | |
| OFDPage () | |
| Constructor. | |
| OFDPage (const OFDPage &other) | |
| Constructor, with another OFD page object. | |
| Matrix | GetDisplayMatrix (int left, int top, int width, int height, common::Rotation rotate) |
| Get display matrix. More... | |
| float | GetHeight () const |
| Get page height (unit is 1/72 inch). More... | |
| float | GetWidth () const |
| Get page width (unit is 1/72 inch). More... | |
| bool | IsEmpty () const |
| Check whether current object is empty or not. More... | |
| bool | operator!= (const OFDPage &other) const |
| Not equal operator. More... | |
| OFDPage & | operator= (const OFDPage &other) |
| Assign operator. More... | |
| bool | operator== (const OFDPage &other) const |
| Equal operator. More... | |
| void | Release () |
| Release current OFD page object. More... | |
Public Member Functions inherited from foxit::Base | |
| FS_HANDLE | Handle () const |
| Get the handle of current object. 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.
| Matrix foxit::addon::ofd::OFDPage::GetDisplayMatrix | ( | int | left, |
| int | top, | ||
| int | width, | ||
| int | height, | ||
| common::Rotation | 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 common::e_Rotation0 and this should be one of these values. |
| float foxit::addon::ofd::OFDPage::GetHeight | ( | ) | const |
Get page height (unit is 1/72 inch).
| float foxit::addon::ofd::OFDPage::GetWidth | ( | ) | const |
Get page width (unit is 1/72 inch).
| bool foxit::addon::ofd::OFDPage::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| bool foxit::addon::ofd::OFDPage::operator!= | ( | const OFDPage & | other | ) | const |
Not equal operator.
| [in] | other | Another OFD page object. This function will check if current object is not equal to this one. |
Assign operator.
| [in] | other | Another OFD page object, whose value would be assigned to current object. |
| bool foxit::addon::ofd::OFDPage::operator== | ( | const OFDPage & | other | ) | const |
Equal operator.
| [in] | other | Another OFD page object. This function will check if current object is equal to this one. |
| void foxit::addon::ofd::OFDPage::Release | ( | ) |
Release current OFD page object.
Please call this function before common::Library::ReleaseOFDEngine to release current OFD page object.