Foxit PDF SDK
|
Public Member Functions | |
def | XFAPage (other) |
Constructor, with another XFA page object. More... | |
def | GetDisplayMatrix (left, top, width, height, rotate) |
Get the display matrix, from PDF coordinate system to targeted device coordinate system. More... | |
def | GetFirstWidget () |
Get the first XFA widget in current tab order. More... | |
def | GetHeight () |
Get the height of the XFA page. More... | |
def | GetIndex () |
Get index of the XFA page. More... | |
def | GetLastWidget () |
Get the last XFA widget in current tab order. More... | |
def | GetNextWidget (widget) |
Get the next XFA widget of a specified XFA widget in current tab order. More... | |
def | GetPrevWidget (widget) |
Get the previous XFA widget of a specified XFA widget in current tab order. More... | |
def | GetWidget (widget_index) |
Get XFA widget by index. More... | |
def | GetWidgetAtDevicePoint (matrix, device_point, tolerance) |
Get the XFA widget at a specified point, in device coordinate system. More... | |
def | GetWidgetByFullName (full_name) |
Get the XFA widget which matches the specified full name in current XFA page. More... | |
def | GetWidgetCount () |
Get the count of XFA widget. More... | |
def | GetWidth () |
Get the width. More... | |
def | IsEmpty () |
Check whether current object is empty or not. More... | |
Class XFAPage represents the XFA page which is retrieved from XFA document object.
To render an XFA page, please use function FoxitPDFSDKPython3.Renderer.StartRenderXFAPage .
def FoxitPDFSDKPython3.XFAPage.XFAPage | ( | other | ) |
Constructor, with another XFA page object.
[in] | other | Another XFA page object. |
def FoxitPDFSDKPython3.XFAPage.GetDisplayMatrix | ( | left, | |
top, | |||
width, | |||
height, | |||
rotate | |||
) |
Get the display matrix, from PDF coordinate system to targeted device coordinate system.
[in] | left | Left position of the transformation area in device coordinate system, commonly in pixels. |
[in] | top | Top position of the transformation area in device coordinate system, commonly in pixels. |
[in] | width | Width of the transformation area in device coordinate system, commonly in pixels. |
[in] | height | Height of the transformation area in device coordinate system, commonly in pixels. |
[in] | rotate | Rotation value. Please refer to values starting from FoxitPDFSDKPython3.e_Rotation0 and this should be one of these values. |
def FoxitPDFSDKPython3.XFAPage.GetFirstWidget | ( | ) |
Get the first XFA widget in current tab order.
def FoxitPDFSDKPython3.XFAPage.GetHeight | ( | ) |
Get the height of the XFA page.
def FoxitPDFSDKPython3.XFAPage.GetIndex | ( | ) |
Get index of the XFA page.
def FoxitPDFSDKPython3.XFAPage.GetLastWidget | ( | ) |
Get the last XFA widget in current tab order.
def FoxitPDFSDKPython3.XFAPage.GetNextWidget | ( | widget | ) |
Get the next XFA widget of a specified XFA widget in current tab order.
[in] | widget | A valid specified XFA widget. |
def FoxitPDFSDKPython3.XFAPage.GetPrevWidget | ( | widget | ) |
Get the previous XFA widget of a specified XFA widget in current tab order.
[in] | widget | A valid specified XFA widget. |
def FoxitPDFSDKPython3.XFAPage.GetWidget | ( | widget_index | ) |
Get XFA widget by index.
[in] | widget_index | The XFA widget index. Valid range: from 0 to (count-1). count is returned by function FoxitPDFSDKPython3.XFAPage.GetWidgetCount . |
def FoxitPDFSDKPython3.XFAPage.GetWidgetAtDevicePoint | ( | matrix, | |
device_point, | |||
tolerance | |||
) |
Get the XFA widget at a specified point, in device coordinate system.
[in] | matrix | The transformation matrix. Usually this is returned by function FoxitPDFSDKPython3.XFAPage.GetDisplayMatrix . |
[in] | device_point | A point in device coordinate system. |
[in] | tolerance | Tolerance value. Valid range: 0.0f to 30.0f. |
def FoxitPDFSDKPython3.XFAPage.GetWidgetByFullName | ( | full_name | ) |
Get the XFA widget which matches the specified full name in current XFA page.
[in] | full_name | An XFA widget's full name. It should not be an empty string. XFA widget's full name can be retrieved by function FoxitPDFSDKPython3.XFAWidget.GetName with type FoxitPDFSDKPython3.XFAWidget.e_WidgetNameTypeFullName in previous process. |
def FoxitPDFSDKPython3.XFAPage.GetWidgetCount | ( | ) |
Get the count of XFA widget.
def FoxitPDFSDKPython3.XFAPage.GetWidth | ( | ) |
Get the width.
def FoxitPDFSDKPython3.XFAPage.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.