property TextSnapshotCacheMissCount: Int64; // read only
The counter increments once for every TextPageSnapshot access whose page slot is not valid, which happens on first access, after the entry was evicted by capacity pressure, after the page was edited, and after a document reload resized the slot array
A miss triggers a fresh capture with TPdfTextSnapshotOptions.Default budgets, one million characters, one hundred thousand text objects, and a 16 MiB font name budget. The result is stored only when the capacity is positive and the capture completed; otherwise the capture repeats on the next access
The value is cumulative for the lifetime of the TPdf instance and never resets
Reading is guarded by the render lock used by native PDFium page access
Lookups are never rejected: with retention disabled every access is a miss that still returns a freshly captured snapshot
Pair the value with TextSnapshotCacheHitCount to compute the effective miss ratio
Pdf.TextSnapshotCacheCapacity := 0;
Snapshot := Pdf.TextPageSnapshot[1];
Snapshot := Pdf.TextPageSnapshot[1];
// TextSnapshotCacheMissCount advanced twice, HitCount stayed unchanged