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 LongDLL
int DLSetTempPath(int InstanceID, wchar_t * NewPath);Parameters
| NewPath | The new folder to use. This folder must exist already, it will not be created. |
|---|
Return values
| 0 | The specified folder does not exists or does not have read/write access |
|---|---|
| 1 | The temporary path was set successfully |