Component: TPdfView · Unit: PDFium
Fremhæver én TPdfWordBox som det aktuelle talte ord på TPdfView
Syntax
procedure SetReadingWord(const Word: TPdfWordBox);
Description
Highlights one TPdfWordBox as the current spoken word on TPdfView
Remarks
- API names, type names, and PDF terms keep their original spelling so code search remains reliable
- Call this member after the owning document or viewer is active
Example
var Words: TPdfWordBoxes;
begin
Words := PdfView1.PageWordBoxes;
if Length(Words) > 0 then
PdfView1.SetReadingWord(Words[0]);
end;
See Also