TPdfWordBox na trenutačnoj stranici TPdfViewfunction SelectWordBox(const Word: TPdfWordBox): Boolean;
| Word | TPdfWordBox |
BooleanSelectWordBox reads Word.Page, Word.StartIndex, and Word.Count, then forwards them to SelectTextRange
Use it with PageWordBoxes when the current spoken word or phrase needs a real viewer text selection
False when the requested range cannot be selectedvar Words: TPdfWordBoxes;
begin
Words := PdfView1.PageWordBoxes;
if Length(Words) > 0 then
PdfView1.SelectWordBox(Words[0]);
end;