THPDFPageRenderBackendRequest Record
Bundles the document access, compiled display list, page index, and resolution a render backend needs to rasterize one page
Declaration
THPDFPageRenderBackendRequest= record
Access: THPDFRenderDocAccess;
DisplayList: THPDFPageDisplayList;
PageIndex: Integer;
DPI: Integer;
end;
Unit
HPDFPageRenderer
Fields
| Field | Purpose |
|---|---|
Access | Document access handle through which the backend reads page resources such as fonts and image XObjects |
DisplayList | Compiled THPDFPageDisplayList holding the page tokens, operators, and classified objects |
PageIndex | Index of the loaded page being rendered |
DPI | Target resolution in dots per inch for the output bitmap |
Usage notes
- Passed to
IHPDFPageRenderBackend.RenderPage; custom backends receive the same record as the native GDI backend - The display list is compiled once per page and can be reused across requests at different DPI values
- Backends must treat
Accessas read-only and pull resources through it instead of reaching into the document directly