SetRenderSurfaceCacheLimit
Rendering, performance, memory management
Description
Sets independent entry-count and byte ceilings for fully composited tile surfaces
Cached surfaces retain the resolved result of images, Form XObjects, patterns and soft masks, allowing repeated tile requests or different output encoders to avoid replaying that page region
Syntax
Function SetRenderSurfaceCacheLimit(MaxEntries: Integer; MaxBytes: Int64): Integer;Remarks
The cache is disabled by default, setting either limit to zero disables retention, and callers editing page content should call ClearRenderSurfaceCache before reusing tiles
Return values
1 on success, 0 when either limit is negative