THPDFHTMLImporter.OnLineLayout
Event fired after each text line has been 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 finalised
The total number of placed lines is counted by the TextLineCount field of Statistics