Click or drag to resize

PdfRunJavaScriptAction Class

Upon invocation of a JavaScript action, a conforming processor shall execute a script that is written in the JavaScript programming language.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.ActionsPdfAction
      SautinSoft.Pdf.ActionsPdfRunJavaScriptAction

Namespace: SautinSoft.Pdf.Actions
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfRunJavaScriptAction : PdfAction

The PdfRunJavaScriptAction type exposes the following members.

Properties
 NameDescription
Public propertyActionType Gets the RunJavaScript value.
(Overrides PdfActionActionType)
Public propertyJavaScript

(Required) A text string or text stream containing the JavaScript script to be executed.

PDFDoc or Unicode encoding (the latter identified by the Unicode prefix U+FEFF) shall be used to encode the contents of the string or stream.

Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also