GlobalJavaScriptPackageName
Document properties, JavaScript
Description
Returns the name of the JavaScript package with the specified index. This package name can be used with the GetGlobalJavaScript function.
Syntax
Delphi
Function TPDFlib.GlobalJavaScriptPackageName(Index: Integer): WideString;
ActiveX
Function PDFlib::GlobalJavaScriptPackageName(Index As Long) As String
DLL
const wchar_t* DLGlobalJavaScriptPackageName(int InstanceID, int Index);
const char* DLGlobalJavaScriptPackageNameA(int InstanceID, int Index);
Parameters
| Index | The index of the global JavaScript package. The first package has an index of 1. The last package has an index equal to the value returned by the GlobalJavaScriptCount function. |
|---|
Return values
Returns the name of the global JavaScript package with the specified index, which can be passed to the GetGlobalJavaScript function.