PDFium Component Docs

enregistrement TPdfWordBox

Module: PDFium
Stocke un mot, sa plage de caractères FTextPage, son rectangle de page et son numéro de page en base un

Syntax

type TPdfWordBox = record ... end;

Fields

FieldTypePurpose
TextWStringWord text
StartIndexIntegerZero-based FTextPage character index
CountIntegerNumber of characters in the word
RectTPdfRectanglePage-space union of the word character boxes
PageIntegerOne-based page number

Description

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

Remarks

See Also

Text, SetReadingHighlight