function ReadPageObjectsSnapshot(PageNumber: Integer; const Options: TPdfPageObjectSnapshotOptions; out Status: TPdfPageObjectSnapshotStatus): TPdfPageObjectsSnapshot;
ReadPageObjectsSnapshot 會將一頁所有頁面物件的類型、邊界、轉換、文字、標記與相依性資訊,複製到自主擁有的 TPdfPageObjectsSnapshot,其中不含任何原生 FPDF_PAGEOBJECT 控制代碼
PageNumber 以一為基底(超出範圍的頁碼引發 EPdfError);Status 回報讀取是完成還是觸及明確的選項額度
ReadPageObjectsSnapshot 以傳入的 Options 讀取全新快照;要讀取受 PageObjectSnapshotCacheCapacity 管控的快取版本,請使用 PageObjectsSnapshot[PageNumber]PageObjectsSnapshot 讀取目前頁面的快取快照在任何算繪回呼之外檢查頁面的所有物件
var Snap: TPdfPageObjectsSnapshot; Status: TPdfPageObjectSnapshotStatus;
Snap := Pdf1.ReadPageObjectsSnapshot(1, TPdfPageObjectSnapshotOptions.Default, Status);