Unit: PDFium
Splits page text into TPdfWordBox records with word text and FTextPage character ranges
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، نامهای نوع و اصطلاحات PDF املای اصلی خود را حفظ میکنند تا جستوجوی کد قابلاتکا باقی بماند
Example
Words := BuildWordBoxes(Pdf1.Text);
See Also