type TPdfWordBox = record ... end;
| Field | Type | Purpose |
|---|---|---|
Text | WString | Word text |
StartIndex | Integer | Zero-based FTextPage character index |
Count | Integer | Number of characters in the word |
Rect | TPdfRectangle | Page-space union of the word character boxes |
Page | Integer | One-based page number |
Word boxes split page text on whitespace, tabs, line breaks and NBSP characters
The component methods also merge FPDFText_GetCharBox rectangles into a single page-space TPdfRectangle for each word