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.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
DynaPDF.ChangeJavaScriptName
Changes the name of a global JavaScript.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.ChangeJavaScriptName"; PDF; Index; New Name ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Index | The index for the JavaScript to change. Range from 0 to DynaPDF.GetJavaScriptCount-1. |
0 |
New Name | The new name of the JavaScript. | "test" |
Result
Returns OK or error.
Description
Changes the name of a global JavaScript.The parameter Name defines the name of this script. This name is NOT used to identify a function inside the JavaScript; it is only used in Adobe's Acrobat to select a specific script. The script name must be unique. Different scripts cannot not use the same name.
See also ChangeJavaScriptName function in DynaPDF manual.
See also
- DynaPDF.ChangeJavaScript
- DynaPDF.ChangeJavaScriptAction
- DynaPDF.GetJavaScript
- DynaPDF.GetJavaScriptCount
- DynaPDF.GetJavaScriptName
- DynaPDF.New
Release notes
- Version 13.2
Blog Entries
This function checks for a paid license.
Created 15th April 2023, last changed 15th April 2023
