GetGlobalJavaScript
Document properties, JavaScript
Description
Retrieves the global JavaScript for the specified package.
Syntax
Delphi
Function TPDFlib.GetGlobalJavaScript(Const PackageName: WideString): WideString;
ActiveX
Function PDFlib::GetGlobalJavaScript(PackageName As String) As String
DLL
const wchar_t* DLGetGlobalJavaScript(int InstanceID, const wchar_t* PackageName);
const char* DLGetGlobalJavaScriptA(int InstanceID, const char* PackageName);
Parameters
| PackageName | The JavaScript stored under this package name will be retrieved. |
|---|
Return values
Returns the global JavaScript stored in the specified package.