SetTempPath
雜項函式
描述
設定存放暫存檔的資料夾,例如以下函式產生的暫存檔
MergeFileList.
語法
Delphi
Function TPDFlib.SetTempPath(Const NewPath: WideString): Integer;
ActiveX
Function PDFlib::SetTempPath(NewPath As String) As Long
DLL
int DLSetTempPath(int InstanceID, const wchar_t * NewPath);
參數
| NewPath | 要使用的新資料夾。資料夾必須已存在,不會自動建立。 |
|---|
傳回值
| 0 | 指定的資料夾不存在,或沒有讀寫權限 |
|---|---|
| 1 | 暫存路徑設定成功 |