RecoverEditJournal
Document editing, Recovery
Description
Loads the last complete committed cursor from a persistent edit journal into the selected document and reactivates its undo and redo history
Each record carries a checksum. An incomplete or corrupt trailing record is ignored, so a process interrupted during append recovers the preceding durable commit
The journal never persists passwords. Supply Password to load encrypted snapshots; public-key encrypted snapshots use the currently configured decryption credential
Syntax
Delphi
Function TPDFlib.RecoverEditJournal(Const FileName: WideString; Const Password: WideString= ''): Integer;ActiveX
Function PDFlib::RecoverEditJournal(FileName As String, Password As String) As LongReturn values
| 1 | The last complete state and its history were restored |
|---|---|
| 0 | The journal is invalid, has no complete cursor, the password is wrong, or the snapshot could not be restored |