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 |
Les boîtes de mots découpent le texte de page sur espaces, tabulations, retours à la ligne et caractères NBSP
Les méthodes de composant fusionnent aussi les rectangles FPDFText_GetCharBox en un TPdfRectangle de page pour chaque mot