VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScript Namespace / PdfJavaScriptActionExecutor Class / ExecuteScript(PdfDocument,String,Boolean,KeyValuePair<String,Object>[]) Method
Syntax Requirements SeeAlso
In This Topic
    ExecuteScript(PdfDocument,String,Boolean,KeyValuePair<String,Object>[]) Method (PdfJavaScriptActionExecutor)
    In This Topic
    Executes a JavaScript.
    Syntax
    'Declaration
    
    Public Overridable Function ExecuteScript( _
    ByVal document
    The PDF document.
    As Vintasoft.Imaging.Pdf.PdfDocument, _
    ByVal javaScript
    The JavaScript.
    As System.String, _
    ByVal unwrap
    A value indicating whether to unwrap the returned value to a CLR instance.
    As Boolean, _
    ByVal ParamArray parameters
    The parameters.
    As System.Collections.Generic.KeyValuePair(Of String,Object) _
    ) As System.Object

    Parameters

    document
    The PDF document.
    javaScript
    The JavaScript.
    unwrap
    A value indicating whether to unwrap the returned value to a CLR instance.
    parameters
    The parameters.

    Return Value

    Execution result.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also