PDFium Component Docs

Tick method

Class: TPdfReadingSession  ·  Unit: PDFium
Memajukan atau mengestimasi kemajuan baca dari status mesin-ucapan host

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