Public Member Functions | |
PageBasicInfo (float width, float height, int rotation) | |
Constructor, with parameters. More... | |
PageBasicInfo () | |
Constructor. | |
PageBasicInfo (PageBasicInfo page_info) | |
Constructor, with another PageBasicInfo object. More... | |
float | getHeight () |
Get page height. More... | |
int | getRotation () |
Get page rotation. More... | |
float | getWidth () |
Get page width. More... | |
void | set (float width, float height, int rotation) |
Set value. More... | |
void | setHeight (float value) |
Set page height. More... | |
void | setRotation (int value) |
Set page rotation. More... | |
void | setWidth (float value) |
Set page width. 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 pdf::PDFDoc::getPageBasicInfo.
com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo | ( | float | width, |
float | height, | ||
int | rotation | ||
) |
Constructor, with parameters.
width | Page width. |
height | Page height. |
rotation | Page rotation. Please refer to values starting from e_Rotation0 and this should be one of these values except e_RotationUnknown. |
com.foxit.sdk.pdf.PageBasicInfo.PageBasicInfo | ( | PageBasicInfo | page_info | ) |
Constructor, with another PageBasicInfo object.
page_info | Another PageBasicInfo object. |
com.foxit.sdk.pdf.PageBasicInfo.getHeight | ( | ) |
Get page height.
com.foxit.sdk.pdf.PageBasicInfo.getRotation | ( | ) |
Get page rotation.
com.foxit.sdk.pdf.PageBasicInfo.getWidth | ( | ) |
Get page width.
void com.foxit.sdk.pdf.PageBasicInfo.set | ( | float | width, |
float | height, | ||
int | rotation | ||
) |
Set value.
width | Page width. |
height | Page height. |
rotation | Page rotation. Please refer to values starting from e_Rotation0 and this should be one of these values except e_RotationUnknown. |
com.foxit.sdk.pdf.PageBasicInfo.setHeight | ( | float | value | ) |
Set page height.
[in] | height | Page height. |
com.foxit.sdk.pdf.PageBasicInfo.setRotation | ( | int | value | ) |
Set page rotation.
[in] | rotation | Page rotation. Please refer to values starting from e_Rotation0 and this should be one of these values. |
com.foxit.sdk.pdf.PageBasicInfo.setWidth | ( | float | value | ) |
Set page width.
[in] | width | Page width. |