Click or drag to resize

ActionCreateJavaScript Method

Creates a new 'JavaScript' action. A javascript action executes a JavaScript script when it's invoked.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Action CreateJavaScript(
	SDFDoc doc,
	string script
)

Parameters

doc
Type: pdftron.SDFSDFDoc
the document in which to create the action
script
Type: SystemString
the JavaScript script to be executed

Return Value

Type: Action
the action
See Also