THotPDF.GetLayoutDiagnostic Method
Reads layout diagnostic information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLayoutDiagnostic(Index: Integer; out Diagnostic: THPDFLayoutDiagnostic): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index or object index used to select an existing item |
Diagnostic | Input supplied to GetLayoutDiagnostic |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised