VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScript Namespace / PdfJavaScriptEngine Class / ExecuteScript(String,Boolean,KeyValuePair<String,Object>[]) Method
Syntax Requirements SeeAlso
In This Topic
    ExecuteScript(String,Boolean,KeyValuePair<String,Object>[]) Method (PdfJavaScriptEngine)
    In This Topic
    Executes the JavaScript.
    Syntax
    'Declaration
    
    Public Function ExecuteScript( _
    ByVal javaScript
    The java script.
    As System.String, _
    ByVal unwrap
    A value indicating whether to unwrap the returned value to a CLR instance. True by default.
    As Boolean, _
    ByVal ParamArray parameters
    The global parameters.
    As System.Collections.Generic.KeyValuePair(Of String,Object) _
    ) As System.Object
    public System.Object ExecuteScript(
    System.String javaScript,
    bool unwrap,
    params System.Collections.Generic.KeyValuePair<string,object> parameters
    )
    public: System.Object ExecuteScript(
    System.String javaScript,
    bool unwrap,
    params System.Collections.Generic.KeyValuePair<string,object*>* parameters
    )
    public:
    System.Object ExecuteScript(
    System.String javaScript,
    bool unwrap,
    ... System.Collections.Generic.KeyValuePair<string,object^>^ parameters
    )

    Parameters

    javaScript
    The java script.
    unwrap
    A value indicating whether to unwrap the returned value to a CLR instance. True by default.
    parameters
    The global parameters.

    Return Value

    Optionally, returns a value from the scripts.
    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