Foxit PDF SDK
FoxitPDFSDKPython3.Filler Class Reference
Inheritance diagram for FoxitPDFSDKPython3.Filler:
FoxitPDFSDKPython3.Base

Public Member Functions

def Filler (other)
 Constructor, with another filler object.
More...
 
def GetEditingTextCaretPosition (matrix)
 Get the text caret position when the text field or combo box is in the editing state.
More...
 
def HighlightFormFields (is_highlight)
 Decide whether to highlight form fields (including signature fields) or not.
More...
 
def IsEmpty ()
 Check whether current object is empty or not.
More...
 
def KillFocus ()
 Kill focus from form.
More...
 
def OnChar (char_code, flags)
 Call this function when a character code is about to be inputted to a form field.
More...
 
def OnCopy ()
 Call this function when the popup menu item "Copy" is down.
More...
 
def OnCut ()
 Call this function when the popup menu item "Cut" is down.
More...
 
def OnDelete ()
 Call this function when the popup menu item "Delete" is down.
More...
 
def OnKeyDown (key_code, flags)
 Call this function when key on the keyboard is down.
More...
 
def OnKeyUp (key_code, flags)
 Call this function when key on the keyboard is up.
More...
 
def OnLButtonDoubleClick (page, point, flags)
 Call this function when left mouse button is double clicked.
More...
 
def OnLButtonDown (page, point, flags)
 Call this function when left mouse button is down.
More...
 
def OnLButtonUp (page, point, flags)
 Call this function when left mouse button is up.
More...
 
def OnMouseEnter (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse enters somewhere.
More...
 
def OnMouseHover (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse hovers somewhere.
More...
 
def OnMouseLeave (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse leaves somewhere.
More...
 
def OnMouseMove (page, point, flags)
 Call this function when mouse moves.
More...
 
def OnMouseWheel (page, point, delta, flags)
 (Reserved, unsupported yet) Call this function when mouse wheel moves.
More...
 
def OnPaste ()
 Call this function when the popup menu item "Paste" is down.
More...
 
def OnRButtonDoubleClick (page, point, flags)
 (Reserved, unsupported yet) Call this function when right mouse button is double clicked.
More...
 
def OnRButtonDown (page, point, flags)
 Call this function when right mouse button is down.
More...
 
def OnRButtonUp (page, point, flags)
 Call this function when right mouse button is up.
More...
 
def OnSelectAll ()
 Call this function when the popup menu item "Select All" is down.
More...
 
def OnWheelButtonDoubleClick (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse wheel button is double clicked.
More...
 
def OnWheelButtonDown (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse wheel button is down.
More...
 
def OnWheelButtonUp (page, point, flags)
 (Reserved, unsupported yet) Call this function when mouse wheel button is up.
More...
 
def Render (page, matrix, renderer)
 Draw the currently focused form control on the page.
More...
 
def SetFocus (control)
 Set focus on a form control.
More...
 
def SetHighlightColor (color)
 Set the highlight color used for highlighting form fields.
More...
 
def ShowOverflowIndicator (is_show_overflow_indicator)
 Decide whether to show the overflow indicator when the text in text field overflow.
More...
 

Static Public Attributes

 e_EventFlagAltKey = _fsdk.Filler_e_EventFlagAltKey
 Event flag: "Alt" key.

 
 e_EventFlagAutoRepeat = _fsdk.Filler_e_EventFlagAutoRepeat
 Event flag: auto repeat.

 
 e_EventFlagCommand = _fsdk.Filler_e_EventFlagCommand
 Event flag: the command key.

 
 e_EventFlagControlKey = _fsdk.Filler_e_EventFlagControlKey
 Event flag: "Ctrl" key.

 
 e_EventFlagKeyPad = _fsdk.Filler_e_EventFlagKeyPad
 Event flag: key pad.

 
 e_EventFlagLeftButtonDown = _fsdk.Filler_e_EventFlagLeftButtonDown
 Event flag: the left button of the mouse is down.

 
 e_EventFlagMetaKey = _fsdk.Filler_e_EventFlagMetaKey
 Event flag: meta key.

 
 e_EventFlagMiddleButtonDown = _fsdk.Filler_e_EventFlagMiddleButtonDown
 Event flag: the middle button of the mouse is down.

 
 e_EventFlagRightButtonDown = _fsdk.Filler_e_EventFlagRightButtonDown
 Event flag: the right button of the mouse is down.

 
 e_EventFlagShiftKey = _fsdk.Filler_e_EventFlagShiftKey
 Event flag: "Shift" key.

 
 e_Vkey0 = _fsdk.Filler_e_Vkey0
 0 key.

 
 e_Vkey1 = _fsdk.Filler_e_Vkey1
 1 key.

 
 e_Vkey2 = _fsdk.Filler_e_Vkey2
 2 key.

 
 e_Vkey3 = _fsdk.Filler_e_Vkey3
 3 key.

 
 e_Vkey4 = _fsdk.Filler_e_Vkey4
 4 key.

 
 e_Vkey5 = _fsdk.Filler_e_Vkey5
 5 key.

 
 e_Vkey6 = _fsdk.Filler_e_Vkey6
 6 key.

 
 e_Vkey7 = _fsdk.Filler_e_Vkey7
 7 key.

 
 e_Vkey8 = _fsdk.Filler_e_Vkey8
 8 key.

 
 e_Vkey9 = _fsdk.Filler_e_Vkey9
 9 key.

 
 e_VkeyA = _fsdk.Filler_e_VkeyA
 A key.

 
 e_VkeyAdd = _fsdk.Filler_e_VkeyAdd
 Plus key in the numeric keypad.

 
 e_VkeyB = _fsdk.Filler_e_VkeyB
 B key.

 
 e_VkeyBack = _fsdk.Filler_e_VkeyBack
 Backspace key.

 
 e_VkeyC = _fsdk.Filler_e_VkeyC
 C key.

 
 e_VkeyControl = _fsdk.Filler_e_VkeyControl
 Ctrl key.

 
 e_VkeyD = _fsdk.Filler_e_VkeyD
 D key.

 
 e_VkeyDecimal = _fsdk.Filler_e_VkeyDecimal
 Dot key in the numeric keypad.

 
 e_VkeyDelete = _fsdk.Filler_e_VkeyDelete
 Delete key.

 
 e_VkeyDivide = _fsdk.Filler_e_VkeyDivide
 Slash key in the numeric keypad.

 
 e_VkeyDown = _fsdk.Filler_e_VkeyDown
 Down arrow key.

 
 e_VkeyE = _fsdk.Filler_e_VkeyE
 E key.

 
 e_VkeyEnd = _fsdk.Filler_e_VkeyEnd
 End key.

 
 e_VkeyEscape = _fsdk.Filler_e_VkeyEscape
 ESC key.

 
 e_VkeyF = _fsdk.Filler_e_VkeyF
 F key.

 
 e_VkeyF1 = _fsdk.Filler_e_VkeyF1
 F1 key.

 
 e_VkeyF10 = _fsdk.Filler_e_VkeyF10
 F10 key.

 
 e_VkeyF11 = _fsdk.Filler_e_VkeyF11
 F11 key.

 
 e_VkeyF12 = _fsdk.Filler_e_VkeyF12
 F12 key.

 
 e_VkeyF2 = _fsdk.Filler_e_VkeyF2
 F2 key.

 
 e_VkeyF3 = _fsdk.Filler_e_VkeyF3
 F3 key.

 
 e_VkeyF4 = _fsdk.Filler_e_VkeyF4
 F4 key.

 
 e_VkeyF5 = _fsdk.Filler_e_VkeyF5
 F5 key.

 
 e_VkeyF6 = _fsdk.Filler_e_VkeyF6
 F6 key.

 
 e_VkeyF7 = _fsdk.Filler_e_VkeyF7
 F7 key.

 
 e_VkeyF8 = _fsdk.Filler_e_VkeyF8
 F8 key.

 
 e_VkeyF9 = _fsdk.Filler_e_VkeyF9
 F9 key.

 
 e_VkeyG = _fsdk.Filler_e_VkeyG
 G key.

 
 e_VkeyH = _fsdk.Filler_e_VkeyH
 H key.

 
 e_VkeyHelp = _fsdk.Filler_e_VkeyHelp
 Help key.

 
 e_VkeyHome = _fsdk.Filler_e_VkeyHome
 Home key.

 
 e_VkeyI = _fsdk.Filler_e_VkeyI
 I key.

 
 e_VkeyInsert = _fsdk.Filler_e_VkeyInsert
 Insert key.

 
 e_VkeyJ = _fsdk.Filler_e_VkeyJ
 J key.

 
 e_VkeyK = _fsdk.Filler_e_VkeyK
 K key.

 
 e_VkeyL = _fsdk.Filler_e_VkeyL
 L key.

 
 e_VkeyLeft = _fsdk.Filler_e_VkeyLeft
 Left arrow key.

 
 e_VkeyM = _fsdk.Filler_e_VkeyM
 M key.

 
 e_VkeyMenu = _fsdk.Filler_e_VkeyMenu
 Menu key.

 
 e_VkeyMultiply = _fsdk.Filler_e_VkeyMultiply
 Multiply key in the numeric keypad.

 
 e_VkeyN = _fsdk.Filler_e_VkeyN
 N key.

 
 e_VkeyNext = _fsdk.Filler_e_VkeyNext
 Page Down key.

 
 e_VkeyNumpad0 = _fsdk.Filler_e_VkeyNumpad0
 0 key in the numeric keypad.

 
 e_VkeyNumpad1 = _fsdk.Filler_e_VkeyNumpad1
 1 key in the numeric keypad.

 
 e_VkeyNumpad2 = _fsdk.Filler_e_VkeyNumpad2
 2 key in the numeric keypad.

 
 e_VkeyNumpad3 = _fsdk.Filler_e_VkeyNumpad3
 3 key in the numeric keypad.

 
 e_VkeyNumpad4 = _fsdk.Filler_e_VkeyNumpad4
 4 key in the numeric keypad.

 
 e_VkeyNumpad5 = _fsdk.Filler_e_VkeyNumpad5
 5 key in the numeric keypad.

 
 e_VkeyNumpad6 = _fsdk.Filler_e_VkeyNumpad6
 6 key in the numeric keypad.

 
 e_VkeyNumpad7 = _fsdk.Filler_e_VkeyNumpad7
 7 key in the numeric keypad.

 
 e_VkeyNumpad8 = _fsdk.Filler_e_VkeyNumpad8
 8 key in the numeric keypad.

 
 e_VkeyNumpad9 = _fsdk.Filler_e_VkeyNumpad9
 9 key in the numeric keypad.

 
 e_VkeyO = _fsdk.Filler_e_VkeyO
 O key.

 
 e_VkeyP = _fsdk.Filler_e_VkeyP
 P key.

 
 e_VkeyPause = _fsdk.Filler_e_VkeyPause
 Pause Break key.

 
 e_VkeyPrint = _fsdk.Filler_e_VkeyPrint
 Print key.

 
 e_VkeyPrior = _fsdk.Filler_e_VkeyPrior
 Page Up key.

 
 e_VkeyQ = _fsdk.Filler_e_VkeyQ
 Q key.

 
 e_VkeyR = _fsdk.Filler_e_VkeyR
 R key.

 
 e_VkeyReturn = _fsdk.Filler_e_VkeyReturn
 Enter key.

 
 e_VkeyRight = _fsdk.Filler_e_VkeyRight
 Right arrow key.

 
 e_VkeyS = _fsdk.Filler_e_VkeyS
 S key.

 
 e_VkeySeparator = _fsdk.Filler_e_VkeySeparator
 Enter key in the numeric keypad.

 
 e_VkeyShift = _fsdk.Filler_e_VkeyShift
 Shift key.

 
 e_VkeySnapshot = _fsdk.Filler_e_VkeySnapshot
 Print Screen key.

 
 e_VkeySpace = _fsdk.Filler_e_VkeySpace
 Space key.

 
 e_VkeySubtract = _fsdk.Filler_e_VkeySubtract
 Minus key in the numeric keypad.

 
 e_VkeyT = _fsdk.Filler_e_VkeyT
 T key.

 
 e_VkeyTab = _fsdk.Filler_e_VkeyTab
 Tab key.

 
 e_VkeyU = _fsdk.Filler_e_VkeyU
 U key.

 
 e_VkeyUnknown = _fsdk.Filler_e_VkeyUnknown
 An unknown key.

 
 e_VkeyUp = _fsdk.Filler_e_VkeyUp
 Up arrow key.

 
 e_VkeyV = _fsdk.Filler_e_VkeyV
 V key.

 
 e_VkeyW = _fsdk.Filler_e_VkeyW
 W key.

 
 e_VkeyX = _fsdk.Filler_e_VkeyX
 X key.

 
 e_VkeyY = _fsdk.Filler_e_VkeyY
 Y key.

 
 e_VkeyZ = _fsdk.Filler_e_VkeyZ
 Z key.

 

Detailed Description

This class represents a form filler used for filling PDF form. There should be only one form filler object for an interactive form, so do not construct form filler for one Form object more than one time. User is recommended to implement an FoxitPDFSDKPython3.ActionCallback and set it to Foxit PDF SDK by function FoxitPDFSDKPython3.Library.SetActionCallback , in order to implement more features of form filler.

See also
FoxitPDFSDKPython3.Library

Constructor & Destructor Documentation

◆ Filler()

def FoxitPDFSDKPython3.Filler.Filler (   other)

Constructor, with another filler object.

Parameters
[in]otherAnother filler object.

Member Function Documentation

◆ GetEditingTextCaretPosition()

def FoxitPDFSDKPython3.Filler.GetEditingTextCaretPosition (   matrix)

Get the text caret position when the text field or combo box is in the editing state.

Parameters
[in]matrixA matrix used to transform the returned position to device coordinate system.
Returns
A position of the top of the text caret in device coordinate system.
(-1,-1) means that there are no text field or combo box in the editing state.

◆ HighlightFormFields()

def FoxitPDFSDKPython3.Filler.HighlightFormFields (   is_highlight)

Decide whether to highlight form fields (including signature fields) or not.

Decide whether to highlight signature fields and other form fields or not.

All types of form fields can be highlighted except push button fields. If this function is not called, Foxit PDF SDK will highlight all form fields (including signature fields) by default.

Parameters
[in]is_highlighttrue means to highlight form fields (including signature fields), and false means not to highlight form fields (including signature fields).
Returns
None.

All types of form fields can be highlighted except push button fields. If this function is not called, Foxit PDF SDK will highlight all form fields by default apart from signature fields which are not highlighted by default.

Parameters
[in]is_highlightThis boolean value is used for non-signature fields: true means to highlight form fields, and false means not to highlight form fields.
[in]is_sign_highlightThis boolean value is used only for siganture fields: true means to highlight signature fields, and false means not to highlight signature fields.
Returns
None.

◆ IsEmpty()

def FoxitPDFSDKPython3.Filler.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.

◆ KillFocus()

def FoxitPDFSDKPython3.Filler.KillFocus ( )

Kill focus from form.

Returns
true means success, while false means failure.

◆ OnChar()

def FoxitPDFSDKPython3.Filler.OnChar (   char_code,
  flags 
)

Call this function when a character code is about to be inputted to a form field.

Parameters
[in]char_codeA character code, in UTF16-LE encoding.
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure.

◆ OnCopy()

def FoxitPDFSDKPython3.Filler.OnCopy ( )

Call this function when the popup menu item "Copy" is down.

Returns
true means success, while false means failure.

◆ OnCut()

def FoxitPDFSDKPython3.Filler.OnCut ( )

Call this function when the popup menu item "Cut" is down.

Returns
true means success, while false means failure.

◆ OnDelete()

def FoxitPDFSDKPython3.Filler.OnDelete ( )

Call this function when the popup menu item "Delete" is down.

Returns
true means success, while false means failure.

◆ OnKeyDown()

def FoxitPDFSDKPython3.Filler.OnKeyDown (   key_code,
  flags 
)

Call this function when key on the keyboard is down.

Parameters
[in]key_codeThe key code. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_VkeyUnknown and this should be one of these values.
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return true.

◆ OnKeyUp()

def FoxitPDFSDKPython3.Filler.OnKeyUp (   key_code,
  flags 
)

Call this function when key on the keyboard is up.

Parameters
[in]key_codeThe key code. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_VkeyUnknown and this should be one of these values.
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return true.

◆ OnLButtonDoubleClick()

def FoxitPDFSDKPython3.Filler.OnLButtonDoubleClick (   page,
  point,
  flags 
)

Call this function when left mouse button is double clicked.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure.

◆ OnLButtonDown()

def FoxitPDFSDKPython3.Filler.OnLButtonDown (   page,
  point,
  flags 
)

Call this function when left mouse button is down.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is down in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure.

◆ OnLButtonUp()

def FoxitPDFSDKPython3.Filler.OnLButtonUp (   page,
  point,
  flags 
)

Call this function when left mouse button is up.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure.

◆ OnMouseEnter()

def FoxitPDFSDKPython3.Filler.OnMouseEnter (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse enters somewhere.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnMouseHover()

def FoxitPDFSDKPython3.Filler.OnMouseHover (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse hovers somewhere.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnMouseLeave()

def FoxitPDFSDKPython3.Filler.OnMouseLeave (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse leaves somewhere.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnMouseMove()

def FoxitPDFSDKPython3.Filler.OnMouseMove (   page,
  point,
  flags 
)

Call this function when mouse moves.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure.

◆ OnMouseWheel()

def FoxitPDFSDKPython3.Filler.OnMouseWheel (   page,
  point,
  delta,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse wheel moves.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]deltaIndicates the amount the mouse wheel has been moved. A positive value means to be moved forward, and a negative value means to be moved backward.
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnPaste()

def FoxitPDFSDKPython3.Filler.OnPaste ( )

Call this function when the popup menu item "Paste" is down.

Returns
true means success, while false means failure.

◆ OnRButtonDoubleClick()

def FoxitPDFSDKPython3.Filler.OnRButtonDoubleClick (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when right mouse button is double clicked.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnRButtonDown()

def FoxitPDFSDKPython3.Filler.OnRButtonDown (   page,
  point,
  flags 
)

Call this function when right mouse button is down.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnRButtonUp()

def FoxitPDFSDKPython3.Filler.OnRButtonUp (   page,
  point,
  flags 
)

Call this function when right mouse button is up.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnSelectAll()

def FoxitPDFSDKPython3.Filler.OnSelectAll ( )

Call this function when the popup menu item "Select All" is down.

Returns
true means success, while false means failure.

◆ OnWheelButtonDoubleClick()

def FoxitPDFSDKPython3.Filler.OnWheelButtonDoubleClick (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse wheel button is double clicked.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnWheelButtonDown()

def FoxitPDFSDKPython3.Filler.OnWheelButtonDown (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse wheel button is down.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ OnWheelButtonUp()

def FoxitPDFSDKPython3.Filler.OnWheelButtonUp (   page,
  point,
  flags 
)

(Reserved, unsupported yet) Call this function when mouse wheel button is up.

Parameters
[in]pageA valid PDF page object.
[in]pointA point where left mouse button is up in the page, in [PDF coordinate system] ().
[in]flagsEvent flags. Please refer to values starting from FoxitPDFSDKPython3.Filler.e_EventFlagShiftKey and this should be one or a combination of these values.
Returns
true means success, while false means failure. Currently this function does not support to be used yet, so this function will always return false.

◆ Render()

def FoxitPDFSDKPython3.Filler.Render (   page,
  matrix,
  renderer 
)

Draw the currently focused form control on the page.

If there is no focused form control on the page, nothing will be drawn by this function. The focused form control has to be the topmost visible element, so that it should be always rendered after page content and all the other annotations have been rendered.
For how to render form control (which is associated with widget annotations), please refer to the recommended flow mentioned in comment of class Renderer.

Parameters
[in]pageA valid PDF page object.
[in]matrixThe transformation matrix used for rendering, which is usually returned by function FoxitPDFSDKPython3.PDFPage.GetDisplayMatrix .
[in]rendererA valid renderer object for rendering.
Returns
None.

◆ SetFocus()

def FoxitPDFSDKPython3.Filler.SetFocus (   control)

Set focus on a form control.

Parameters
[in]controlA form control object. If this is constructed by default constructor and not set any value, that means no focus control.
Returns
true means success, while false means failure.

◆ SetHighlightColor()

def FoxitPDFSDKPython3.Filler.SetHighlightColor (   color)

Set the highlight color used for highlighting form fields.

If this function is not called, Foxit PDF SDK will use a kind of light blue grey color (value 0x80C8D2FF) by default.

Parameters
[in]colorThe highlight color to be set for highlighting form fields.
Returns
None.

◆ ShowOverflowIndicator()

def FoxitPDFSDKPython3.Filler.ShowOverflowIndicator (   is_show_overflow_indicator)

Decide whether to show the overflow indicator when the text in text field overflow.

If this function is not called, Foxit PDF SDK will not show form field overflow indicator by default.

Parameters
[in]is_show_overflow_indicatortrue means to show overflow indicator when the text in text field overflow, and false means not to show overflow indicator in this case.
Returns
None.