StopEditJournal

Document editing, Recovery

Description

Stops the active edit journal after every transaction has been committed or rolled back

KeepRecoveryFile set to 0 deletes the persistent journal, while 1 keeps it available for a later RecoverEditJournal call

Syntax

Delphi

Function TPDFlib.StopEditJournal(KeepRecoveryFile: Integer= 1): Integer;

ActiveX

Function PDFlib::StopEditJournal(KeepRecoveryFile As Long) As Long

DLL

int DLStopEditJournal(int InstanceID, int KeepRecoveryFile);

Parameters

KeepRecoveryFile1 keeps the journal file for a later RecoverEditJournal call (default); 0 deletes the journal file once the journal is stopped

Return values

1The journal stopped and the requested file policy was applied
0No journal is active, a transaction remains open, the option is invalid, or the file could not be deleted