RefreshPage

Viewer interaction

Description

Forces a re-render of the current page: it rebuilds the layout, renders and caches the current page bitmap synchronously, updates the scroll ranges and repaints

Call it after the document changed behind the control, for example after external edits modified page content; the refresh also notifies OnZoomChange when the effective zoom moved

Syntax

Delphi

Procedure TPDFlibViewer.RefreshPage;

See also

SetFormFieldValueAndRefresh, LoadFromFile, TPDFlibViewer