PDFium Component Docs

SetReadingWord metodas

Komponentas: TPdfView  ·  Modulis: PDFium
Paryškina vieną TPdfWordBox kaip dabartinį tariamą žodį TPdfView rodinyje

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