property PageObjectSnapshotCacheCount: Integer; // read only
此值統計目前頁面物件快照仍有效的頁數,因此在已載入文件時最大為 Min(PageObjectSnapshotCacheCapacity, PageCount)
此計數隨 PageObjectsSnapshot 完成並快取新快照而增加,並在容量壓力、頁面編輯或文件重新載入使項目失效時減少
讀取受到原生 PDFium 頁面存取所用的渲染鎖保護,因此此值與並行渲染保持一致
未載入文件時,或 PageObjectSnapshotCacheCapacity 為 0 時,此計數為 0
此計數是某個時間點的佔用數字;累計的查閱成效請使用 PageObjectSnapshotCacheHitCount 與 PageObjectSnapshotCacheMissCount
Snapshot := Pdf.PageObjectsSnapshot[1];
LogPageObjectSnapshotCache(Pdf.PageObjectSnapshotCacheCount,
Pdf.PageObjectSnapshotCacheCapacity);