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

wchar_t * DLGlobalJavaScriptPackageName(int InstanceID, int Index);

Parameters

IndexThe 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.