JavascriptAction

Inheritance: java.lang.Object, com.aspose.pdf.PdfAction

public final class JavascriptAction extends PdfAction

Class representing javascript action.

Constructors

ConstructorDescription
JavascriptAction(String javaScript)Constructor.

Methods

MethodDescription
getScript()Gets javascript code.
setScript(String value)

JavascriptAction(String javaScript)

public JavascriptAction(String javaScript)

Constructor.

Parameters:

ParameterTypeDescription
javaScriptjava.lang.StringJavaScript code.

getScript()

public String getScript()

Gets javascript code.

Returns: java.lang.String - String value

setScript(String value)

public void setScript(String value)

Parameters:

ParameterTypeDescription
valuejava.lang.String