SetTempPath

Miscellaneous functions

Description

Sets the folder to use for storage of temporary files which are generated by functions such as

MergeFileList.

Syntax

Delphi

function TPDFlib.SetTempPath(Const NewPath: WideString): Integer;

ActiveX

Function PDFlib::SetTempPath(NewPath As String) As Long

DLL

int DLSetTempPath(int InstanceID, wchar_t * NewPath);

Parameters

NewPathThe new folder to use. This folder must exist already, it will not be created.

Return values

0The specified folder does not exists or does not have read/write access
1The temporary path was set successfully