PDFium Delphi Component Docs

InspectRecoverySnapshot method

Component: TPdf  ·  Unit: PDFium

Syntax

function InspectRecoverySnapshot(Stream: TStream): TPdfRecoverySnapshotInfo; overload;
function InspectRecoverySnapshot(const FileName: string): TPdfRecoverySnapshotInfo; overload;

Description

Checks package bounds, checksum, journal structure and internal fingerprint consistency without changing the active document

The result reports SourceName, SourceFingerprint, RecoveredFingerprint, EntryCount, Position and StoredBytes

Security

Inspection does not prove that a separately loaded source PDF matches the package; RestoreRecoverySnapshot performs that replay verification

See Also

RestoreRecoverySnapshot, GetEditJournalInfo