THPDFHTMLImporter.OnLineLayout
Event fired after each text line is placed by the paged layout phase
property OnLineLayout: THPDFHTMLLineLayoutEvent read FOnLineLayout
write FOnLineLayout;
The unit is HPDFHTMLImport; the handler receives a THPDFHTMLLineLayout record with page and line indices, the placed rectangle, direction, hyphenation flag, and text
The event enables verification overlays, text positioning audits, and custom line post-processing before the page is finalized
Total placed lines are counted by the TextLineCount field of Statistics