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);

返回值

1编辑日志已启动
0所选文档或日志状态无效,或无法创建恢复文件