Unit: PDFium
Розбиває текст сторінки на записи TPdfWordBox із текстом слова та діапазонами символів FTextPage
Syntax
function BuildWordBoxes(const PageText: WString): TPdfWordBoxes;
Parameters
Return Value
TPdfWordBoxes
Description
Word boxes split page text on whitespace, tabs, line breaks, and NBSP characters
The component methods also union FPDFText_GetCharBox rectangles into one page-space TPdfRectangle for each word
Remarks
- This is a pure helper and does not require an active component instance
- API names, type names, and PDF terms keep their original spelling so code search remains reliable
Example
Words := BuildWordBoxes(Pdf1.Text);
See Also