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