RemoveGlobalJavaScript

Document properties, JavaScript

Description

Removes a block of JavaScript from the global JavaScript store.

Syntax

Delphi

function TPDFlib.RemoveGlobalJavaScript(Const PackageName: WideString): Integer;

ActiveX

Function PDFlib::RemoveGlobalJavaScript(PackageName As String) As Long

DLL

int DLRemoveGlobalJavaScript(int InstanceID, wchar_t * PackageName);

Parameters

PackageNameThe name that that JavaScript was stored under.

Return values

0The specified package name could not be found
1The JavaScript was removed successfully