THPDFDOMRenderStatistics Record
Counts sections, pages, placements, splits, furniture draws, and structure elements produced by one declarative layout render
Declaration
THPDFDOMRenderStatistics= record
SectionCount: Integer;
PageCount: Integer;
PlacementCount: Int64;
SplitCount: Int64;
HeaderDrawCount: Int64;
FooterDrawCount: Int64;
MaximumContinuationDepth: Integer;
StructureElementCount: Int64;
MarkedContentCount: Int64;
ArtifactCount: Int64;
end;
Unit
HPDFLayoutDOM
Fields
| Field | Purpose |
|---|---|
SectionCount | Sections rendered from the layout document |
PageCount | Pages produced during the render |
PlacementCount | Components placed onto pages |
SplitCount | Components split across page boundaries |
HeaderDrawCount | Header furniture draws emitted by the page decoration pass |
FooterDrawCount | Footer furniture draws emitted by the page decoration pass |
MaximumContinuationDepth | Deepest continuation nesting used while flowing content across pages |
StructureElementCount | Structure elements emitted when tagged PDF generation is on |
MarkedContentCount | Marked content sequences emitted for tagging |
ArtifactCount | Artifacts marked during rendering |
Usage notes
- Returned by
THPDFDOMRenderer.Renderafter the target document is closed - Structure, marked content, and artifact counts stay zero unless the document enables
GenerateStructure - Use
SplitCountandMaximumContinuationDepthto size pagination behavior in layout tests