THPDFHeadlessRenderResult
Declared in HPDFHeadlessCairoDevice; returned only after a successful render and output publication
| Field | Meaning |
|---|---|
Width, Height: Integer | PNG surface dimensions in pixels, rounded upward after page box, rotation, UserUnit and Scale |
Operations: Integer | Dispatched page, Form and appearance content operators |
Glyphs: Integer | Processed glyph records, including invisible text |
Images: Integer | Painted image invocations |
Forms: Integer | Processed Form invocations, including certified empty descendants and annotation appearance Forms |
Appearances: Integer | Rendered normal annotation appearances |
DecodedBytes: Int64 | Cumulative physical decoded stream bytes charged by the render; retained source-cache hits neither decode nor charge the same bytes again |
PNGBytes: Int64 | Encoded PNG byte length |
The public Form count remains an Integer; temporary replay bookkeeping uses a wider internal counter, and an unrepresentable final total raises a render error before output publication
Counts describe invocations rather than unique source resources; repeated Forms and images can therefore increase their counters more than their resource count
The record contains no allocated resources and does not own the borrowed document, destination or cancellation token
See HPDFRenderHeadlessPagePNG and HPDFRenderHeadlessPagePNGFile