Class addon::xfa::XFAPage represents the XFA page which is retrieved from XFA document object.
To render a XFA page, please use function common::Renderer::startRenderXFAPage.
- See also
- common::Renderer
◆ XFAPage()
com.foxit.sdk.addon.xfa.XFAPage.XFAPage |
( |
XFAPage |
other | ) |
|
Constructor, with another XFAPage object.
- Parameters
-
◆ getDisplayMatrix()
Get the display matrix, from PDF coordinate system to targeted device coordinate system.
- Parameters
-
left | Left position of the transformation area in device coordinate system, commonly in pixels.
|
top | Top position of the transformation area in device coordinate system, commonly in pixels.
|
width | Width of the transformation area in device coordinate system, commonly in pixels.
|
height | Height of the transformation area in device coordinate system, commonly in pixels.
|
rotate | Rotation value. Please refer to values starting from e_Rotation0 and this should be one of these values.
|
- Returns
- A Matrix object that receives the display matrix used for current XFA page. If there is any error, a Matrix with all value 0 will be returned.
◆ getHeight()
Get the height of the XFA page.
- Returns
- A float value that receives the height of current XFA page.
◆ getIndex()
Get index of the XFA page.
- Returns
- The index of xfa page.
◆ getWidget()
Get XFA widget by index.
- Parameters
-
- Returns
- The XFA widget.
◆ getWidgetAtDevicePoint()
Get the XFA widget at a specified point, in device coordination system.
- Parameters
-
matrix | The transformation matrix. Usually this is returned by function addon::xfa::XFAPage::getDisplayMatrix.
|
device_point | A point in device coordination system.
|
tolerance | Tolerance value. Valid range: 0.0f to 30.0f.
|
- Returns
- An XFA Widget object.
◆ getWidgetCount()
Get the count of XFA widget.
- Returns
- The count of XFA widget.
◆ getWidth()
Get the width.
- Returns
- A float value that receives the width of current XFA page.
◆ isEmpty()
boolean com.foxit.sdk.addon.xfa.XFAPage.isEmpty |
( |
| ) |
|
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
- Returns
- true means current object is empty, while false means not.