PDFium Component Docs

Tick-metodi

Class: TPdfReadingSession  ·  Unit: PDFium
Päivittää tai arvioi lukemisen etenemistä isännän puhemoottorin tilan perusteella

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