VintaSoft Imaging .NET SDK v8.6
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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also