FileListItem

Miscellaneous functions

Description

Returns the file name stored at the specified index in the named list.

Syntax

Delphi

Function TPDFlib.FileListItem(Const ListName: WideString; Index: Integer): WideString;

ActiveX

Function PDFlib::FileListItem(ListName As String, Index As Long) As String

DLL

const wchar_t* DLFileListItem(int InstanceID, const wchar_t* ListName, int Index);
const char* DLFileListItemA(int InstanceID, const char* ListName, int Index);

Parameters

ListNameThe name of the list to work with
IndexThe index of the file name to retrieve. The first item has an index of 1.

Return values

Returns the entry at the one-based Index of the named string list, or an empty string when the list does not exist or Index is out of range