AddToFileList

Miscellaneous functions

Description

Adds a file to a named file list. This file list can later be used with functions that will operate on all the files in the list.

Syntax

Delphi

Function TPDFlib.AddToFileList(Const ListName, FileName: WideString): Integer;

ActiveX

Function PDFlib::AddToFileList(ListName As String, FileName As String) As Long

DLL

int DLAddToFileList(int InstanceID, const wchar_t* ListName, const wchar_t* FileName);
int DLAddToFileListA(int InstanceID, const char* ListName, const char* FileName);

Parameters

ListNameThe name of the file list to work with
FileNameThe file name to add to the list.

Return values

Returns 1 when the file name has been added; the named list is created first when it does not already exist.