Pdfviewer - JavaScriptAction

18 Nov 20261 minute to read

Represents a script-based action for a form field.
Extends Action with the script payload that is executed when the action fires.

Properties

action JavaScript

Gets or sets the type of the action.
Overrides the base Action.action default to JavaScript

Defaults to ActionType.JavaScript

script string

Gets or sets the script text to execute.

Defaults to ’’