VintaSoft Imaging .NET SDK 10.1
Vintasoft.Imaging.Pdf.Tree Namespace / PdfJavaScriptAction Class

In This Topic
    PdfJavaScriptAction Class
    In This Topic
    Defines a JavaScript action associated with PDF element (bookmark, link, interactive form field, ...).
    Object Model
    PdfJavaScriptAction ClassPdfBasicObject ClassPdfDocument ClassPdfIndirectReference ClassPdfResource Class
    Public Class PdfJavaScriptAction 
       Inherits PdfAction
    public class PdfJavaScriptAction : PdfAction 
    public __gc class PdfJavaScriptAction : public PdfAction 
    public ref class PdfJavaScriptAction : public PdfAction 
    A JavaScript action (PDF 1.3) causes a script to be compiled and executed by the JavaScript interpreter. Depending on the nature of the script, various interactive form fields in the document may update their values or change their visual appearances.

    To support the use of parameterized function calls in JavaScript scripts, the Vintasoft.Imaging.Pdf.PdfDocument.JavaScripts property can contain names of document-level JavaScript actions. When the document is opened, all of the actions in this dictionary are executed, defining JavaScript functions for use by other scripts in the document.
    Adobe JavaScript for Acrobat API Reference give details on the contents and effects of JavaScript scripts.
    Inheritance Hierarchy



    Target Platforms: .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also