PDFium Delphi Component Docs

SaveRecoverySnapshot method

Component: TPdf  ·  Unit: PDFium

Syntax

procedure SaveRecoverySnapshot(Stream: TStream); overload;
procedure SaveRecoverySnapshot(const FileName: string); overload;

Description

Writes a PDFRCV1 package containing the source and recovered SHA-256 fingerprints plus the bounded edit journal

The active document must match the journal position exactly, including successful inverse and forward replay, before output begins

File output

The file overload writes an adjacent temporary file and replaces the target with write-through semantics once the complete package succeeds

The source PDF path is rejected as a recovery target

See Also

RestoreRecoverySnapshot, InspectRecoverySnapshot, ExportEditJournal