THotPDF.OnLayoutDiagnostic
接收每条保留的布局诊断,用于自愿启用的实时预览或调试界面
声明
property OnLayoutDiagnostic: THPDFLayoutDiagnosticEvent
read FOnLayoutDiagnostic write FOnLayoutDiagnostic;
参数
| 名称 | 说明 |
|---|---|
Sender | The document publishing the diagnostic |
Diagnostic | 以只读参数传入的保留诊断记录 |
返回值
此事件没有返回值
使用说明
- The event runs only when
LayoutDiagnosticOptions.LivePreviewis true - 回调在执行布局的线程上同步执行
- A diagnostic discarded by
LayoutDiagnosticLimitis not published - 文档和诊断记录仍归 HotPDF 所有