Class JavaScriptAction
A JavaScript action (spec §12.6.4.15) that executes a JavaScript script when the action is triggered.
Inherited Members
Namespace: DRIT.Pdf.Actions
Assembly: DRIT.Pdf.dll
Syntax
public sealed class JavaScriptAction : PdfAction
Constructors
JavaScriptAction(string)
Creates a JavaScript action with the given script.
Declaration
public JavaScriptAction(string script)
Parameters
| Type | Name | Description |
|---|---|---|
| string | script | The JavaScript code to execute. |
Properties
Script
The JavaScript script to execute.
Declaration
public string Script { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The action subtype identifying this action's type.
Declaration
public override ActionType Type { get; }
Property Value
| Type | Description |
|---|---|
| ActionType |