Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Returns the name of a global JavaScript.
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 | The index for the JavaScript to query. Range from 0 to DynaPDF.GetJavaScriptCount-1. |
0 |
Returns text or error.
See also GetJavaScriptName function in DynaPDF manual.
Query the name of the thing we added:
Set Variable [ $r ; Value: MBS("DynaPDF.AddJavaScript"; $pdf; "test"; "function test() { return 123; }") ]
Set Variable [ $name ; Value: MBS("DynaPDF.GetJavaScriptName"; $pdf; 0) ]
This function checks for a license.
Created 15th April 2023, last changed 15th April 2023