PDFium Component Docs

FeedSpokenPosition метод

Class: TPdfReadingSession  ·  Unit: PDFium
Feeds the speech engine current spoken-text offset into the word tracker

Syntax

procedure FeedSpokenPosition(SpokenOffset: Integer);

Parameters

SpokenOffsetInteger - Zero-based offset in the current chunk text

Description

The method maps the offset through the current chunk TPdfSpokenText spans and moves the attached TPdfView word cursor

It is ignored unless State is pssSpeaking

Remarks

Example

ReadingSession1.FeedSpokenPosition(InputWordPosition);

See Also

TPdfReadingSession, TPdfReadingSession.State