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; lifetime hit, miss, prefetch, skip, eviction and invalidation counters remain 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 separately retained viewer page handles through the normal viewer lifecycle

See Also

ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt