THotPDF.GetLayoutDiagnostics Method
Returns a snapshot of retained page-break, overflow, and immediate-flush decisions without mutating layout state
Declaration
function GetLayoutDiagnostics: THPDFLayoutDiagnosticArray;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns a THPDFLayoutDiagnosticArray value
Usage notes
- Each record includes page indexes, an affected rectangle, line count, diagnostic kind, and an actionable reason
- The returned array is an independent copy and can be retained after new layout work
- Use
LayoutDiagnosticLimitto bound storage and inspectLayoutDiagnosticDroppedCountfor truncated records