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
)
Public Shared Function CreateJavaScript (
doc As SDFDoc,
script As String
) As Action
public:
static Action^ CreateJavaScript(
[InAttribute] SDFDoc^ doc,
[InAttribute] String^ script
)
pdftron.PDF.Action.CreateJavaScript = function(doc, 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