SetCacheLimit
Viewer interaction
Description
Sets the page bitmap cache budget in megabytes, 128 by default; values below 1 are clamped to 1
Shrinking the budget evicts the least recently used pages immediately so the new limit holds before the next paint
Syntax
Delphi
Procedure TPDFlibViewer.SetCacheLimit(MegaBytes: Integer);Parameters
| MegaBytes | New cache budget in megabytes, clamped to at least 1 |
|---|