THotPDF.OnLayoutDiagnostic
Receives each retained layout diagnostic for an opt-in live preview or debugging surface
Declaration
property OnLayoutDiagnostic: THPDFLayoutDiagnosticEvent
read FOnLayoutDiagnostic write FOnLayoutDiagnostic;
Parameters
| Name | Description |
|---|---|
Sender | The document publishing the diagnostic |
Diagnostic | The retained diagnostic record passed as a read-only parameter |
Return value
This event does not return a value
Usage notes
- The event runs only when
LayoutDiagnosticOptions.LivePreviewis true - The callback executes synchronously on the thread performing layout
- A diagnostic discarded by
LayoutDiagnosticLimitis not published - The document and diagnostic record remain owned by HotPDF