PDFium Component Docs

TrackReadingWordAt metoda

Component: TPdfView  ·  Unit: PDFium
Mapuje przesunięcie znaku strony na zawierający je TPdfWordBox, wyróżnia go i zwraca indeks słowa

Syntax

function TrackReadingWordAt(PageNumber, CharIndex: Integer): Integer;

Description

Mapuje przesunięcie znaku strony na zawierający je TPdfWordBox, wyróżnia go i zwraca indeks słowa

Remarks

Example

var WordIndex: Integer;
begin
  WordIndex := PdfView1.TrackReadingWordAt(PdfView1.PageNumber, Voice.Status.InputWordPosition);
end;

See Also

PageWordBoxes, SetReadingWord, ClearReadingWord, ReadingWordColor, ReadingWordFollow, SetReadingHighlight