• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class JavaScriptAction

A JavaScript action (spec §12.6.4.15) that executes a JavaScript script when the action is triggered.

Inheritance
object
PdfAction
JavaScriptAction
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Overrides
PdfAction.Type
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX