PDFium Delphi Component Docs

ClearReadingWordCache method

Unit: PDFium

Drops retained reading-word geometry and the current active word working set

Syntax

procedure ClearReadingWordCache;

Description

The next tracking request rebuilds native word geometry; the lifetime hit, miss, prefetch, skip, eviction and invalidation counters stay available

Document replacement, deactivation, policy changes and changes to the owning TPdf content revision invalidate word geometry automatically

This method does not navigate, clear user selection or change native form focus

Raw native edits require the appropriate TPdf.UpdatePage or TPdfView.UpdatePage notification; after structural page changes, refresh any viewer page handles you retain separately through the normal viewer lifecycle

See Also

ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt