ClearEditJournalHistory

Document editing, Recovery

Description

Replaces all undo and redo states with the current selected document state while keeping the journal active

For a persistent journal this truncates obsolete append records and starts a compact recovery file from the new baseline

Syntax

Delphi

Function TPDFlib.ClearEditJournalHistory: Integer;

ActiveX

Function PDFlib::ClearEditJournalHistory() As Long

Return values

1History was reset
0No matching journal is active, a transaction is open, or the new baseline could not be persisted