StartEditJournalA

文件編輯、復原

描述

StartEditJournal 的 ANSI 變體

字串參數接受 ANSI 文字,其餘行為與寬字元字串版本完全相同

語法

Delphi

Function TPDFlib.StartEditJournal(Const FileName: WideString= ''; MaxUndoSteps: Integer= 32): Integer;

ActiveX

Function PDFlib::StartEditJournal(FileName As String, MaxUndoSteps As Long) As Long

DLL

int DLStartEditJournal(int InstanceID, const wchar_t *FileName, int MaxUndoSteps);
int DLStartEditJournalA(int InstanceID, const char *FileName, int MaxUndoSteps);

傳回值

1The journal started
0所選文件或日誌狀態無效,或無法建立復原檔案