Foxit PDF SDK
fsdk.JavaScriptAction Class Reference

Public Member Functions

def GetScript ()
 Get JavaScript script. More...
 
def SetScript (script)
 Set JavaScript script. More...
 

Detailed Description

JavaScript action is an action that causes a script to be compiled and executed by the JavaScript interpreter.
Class fsdk.JavaScriptAction is derived from Action and offers functions to get/set JavaScript action data.

See also
Action

Member Function Documentation

◆ GetScript()

def fsdk.JavaScriptAction.GetScript ( )

Get JavaScript script.

Returns
JavaScript script.

◆ SetScript()

def fsdk.JavaScriptAction.SetScript (   script)

Set JavaScript script.

Parameters
[in]scriptA JavaScript script to be set. It should not be an empty string.
Returns
None.