ClearDisplayListCache
Rendering
Description
Drops recorded display lists and resets reuse, pressure and contention counters
Syntax
Delphi
Function TPDFlib.ClearDisplayListCache: Integer;DLL
int DLClearDisplayListCache(int InstanceID);ActiveX
Function PDFlib::ClearDisplayListCache() As LongReturn values
| 1 | The cache was cleared |
|---|
Remarks
The next render after a clear re-parses each content stream and re-records it
A list currently being captured or replayed is retired immediately and freed when its active renderer releases it, preventing use-after-free during asynchronous rendering