PDFium Delphi Component Docs

ReadingWordPrefetch property

Unit: PDFium

Controls optional synchronous warming of adjacent-page word geometry whilst tracking reading

Syntax

property ReadingWordPrefetch: Boolean;

Description

The default False keeps a single requested-page working cache; True warms the next and previous page once a cacheable request has been served

ReadingWordCacheCapacity defaults to three pages; capacity two favours the next page and capacity one performs no adjacent prefetch

Warming runs on the caller's UI thread and retains managed word boxes, not native page or text-page handles; it neither changes pages nor selects text or focuses fields

Missing or over-budget neighbours are skipped without rejecting the requested word; no recursive prefetch or background worker is started

See Also

ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt