PDFium Delphi Component 文件

RestoreRecoverySnapshot 方法

元件: TPdf  ·  單元: PDFium

Syntax

procedure RestoreRecoverySnapshot(Stream: TStream;
  AllowSignedDocument: Boolean = False); overload;
procedure RestoreRecoverySnapshot(const FileName: string;
  AllowSignedDocument: Boolean = False); overload;

Description

在安裝復原後的文件與復原歷程之前,會先驗證外部校驗和、套件長度、日誌摘要鏈、已載入的來源指紋、每個正向與反向修補,以及最終復原指紋

呼叫此方法之前,請先將候選的來源 PDF 載入元件

Signed PDFs

當作用中的 PDF 包含簽章時,預設會拒絕復原,因為復原後的修訂版本超出原始簽章的涵蓋範圍

只有在應用程式已明確授權承擔該後果時,才設定 AllowSignedDocument

See Also

SaveRecoverySnapshot, InspectRecoverySnapshot, ImportEditJournal