PDFium Delphi Component 文件

InspectRecoverySnapshot 方法

元件: TPdf  ·  單元: PDFium

Syntax

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

Description

檢查套件邊界、校驗和、日誌結構與內部指紋一致性,而不變更作用中的文件

結果會回報 SourceName、SourceFingerprint、RecoveredFingerprint、EntryCount、Position 與 StoredBytes

Security

檢查並無法證明另行載入的來源 PDF 符合該套件;RestoreRecoverySnapshot 才會執行該重播驗證

See Also

RestoreRecoverySnapshot, GetEditJournalInfo