property PageObjectSnapshotCacheCount: Integer; // read only
The value counts the pages whose page-object snapshot is valid right now, so it is at most Min(PageObjectSnapshotCacheCapacity, PageCount) whilst a document is loaded
The count grows as PageObjectsSnapshot completes and caches new snapshots and falls when capacity pressure, page edits or document reloads invalidate entries
Reading is guarded by the render lock used by native PDFium page access, so the value is consistent with concurrent rendering
With no document loaded, or whilst PageObjectSnapshotCacheCapacity is zero, the count is 0
The count is a point-in-time occupancy figure; use PageObjectSnapshotCacheHitCount and PageObjectSnapshotCacheMissCount for cumulative lookup effectiveness
Snapshot := Pdf.PageObjectsSnapshot[1];
LogPageObjectSnapshotCache(Pdf.PageObjectSnapshotCacheCount,
Pdf.PageObjectSnapshotCacheCapacity);