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 LongReturn values
| 1 | History was reset |
|---|---|
| 0 | No matching journal is active, a transaction is open, or the new baseline could not be persisted |