PDFium Component Docs

SetReadingWord-metodi

Component: TPdfView  ·  Unit: PDFium
Highlights one TPdfWordBox as the current spoken word on TPdfView

Syntax

procedure SetReadingWord(const Word: TPdfWordBox);

Description

Highlights one TPdfWordBox as the current spoken word on TPdfView

Remarks

Example

var Words: TPdfWordBoxes;
begin
  Words := PdfView1.PageWordBoxes;
  if Length(Words) > 0 then
    PdfView1.SetReadingWord(Words[0]);
end;

See Also

PageWordBoxes, ClearReadingWord, TrackReadingWordAt, ReadingWordColor, ReadingWordFollow, SetReadingHighlight