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

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