Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 license.
Created 15th April 2023, last changed 15th April 2023