IsPageCached
Viewer interaction
Description
True when the page's bitmap at the current zoom and view rotation sits in the in-memory cache. The check consults the same composite cache key the paint path uses, so a True result guarantees the next paint of that page needs no rendering
Syntax
Delphi
Function TPDFlibViewer.IsPageCached(APage: Integer): Boolean;Parameters
| APage | One-based page index |
|---|
Return values
| False | The page is not cached at the current zoom and rotation |
|---|---|
| True | A cached bitmap for the page is ready to draw |