PrefetchEnabled

Viewer interaction

Description

Controls the background thread that pre-renders the pages neighbouring the current one, True by default

Turning it off stops and frees the worker, while turning it back on after a document is open restarts it and queues the neighbours of the current page; finished renderings are decoded into the page bitmap cache before painting and after navigation

Syntax

Delphi

Property PrefetchEnabled: Boolean Read FPrefetchEnabled Write SetPrefetchEnabled;

See also

SetCacheLimit, LoadFromFile, TPDFlibViewer