PDFium Delphi Component Docs

Tick メソッド

Class: TPdfReadingSession  ·  ユニット: PDFium
ホストの音声エンジン状態から読み上げの進行を進めるか推定します

Syntax

procedure Tick(SpeechStillBusy: Boolean; ElapsedMs: Cardinal = 0);

Parameters

SpeechStillBusyBoolean - True while the current chunk is still being spoken
ElapsedMsCardinal - Elapsed time for the current chunk, used only when EstimatePacing is enabled

Description

If the engine is still busy and EstimatePacing is enabled, the method estimates the current word from ElapsedMs

If the engine is no longer busy, the session advances to the next chunk or finishes and raises OnFinished

Remarks

Example

ReadingSession1.Tick(SpeechEngineBusy, ElapsedMs);

See Also

TPdfReadingSession, TPdfReadingSession.State