Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns a global JavaScript as string.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Index or Name | Pass either text with the name of the JavaScript or the index in range from 0 to DynaPDF.GetJavaScriptCount-1. | "test" |
Returns text or error.
See also GetJavaScript function in DynaPDF manual.
Query the JavaScript of the thing we added:
Set Variable [ $r ; Value: MBS("DynaPDF.AddJavaScript"; $pdf; "test"; "function test() { return 123; }") ]
Set Variable [ $name ; Value: MBS("DynaPDF.GetJavaScript"; $pdf; "test") ]
This function checks for a license.
Created 15th April 2023, last changed 15th April 2023