function ReadPageObjectsSnapshot(PageNumber: Integer; const Options: TPdfPageObjectSnapshotOptions; out Status: TPdfPageObjectSnapshotStatus): TPdfPageObjectsSnapshot;
ReadPageObjectsSnapshot 将某一页所有页面对象的类型、边界、变换、文本、标记和依赖事实复制到归调用方所有的 TPdfPageObjectsSnapshot 中,其中不包含任何原生 FPDF_PAGEOBJECT 句柄
PageNumber 从 1 开始计数(超出范围的页码会抛出 EPdfError);Status 报告读取是已完成还是触及了显式的选项预算
ReadPageObjectsSnapshot 按传入的 Options 读取一份全新快照;要使用受 PageObjectSnapshotCacheCapacity 管理的缓存读取,请用 PageObjectsSnapshot[PageNumber]PageObjectsSnapshot 读取当前页面的缓存快照在任何渲染回调之外检查某一页的所有对象
var Snap: TPdfPageObjectsSnapshot; Status: TPdfPageObjectSnapshotStatus;
Snap := Pdf1.ReadPageObjectsSnapshot(1, TPdfPageObjectSnapshotOptions.Default, Status);