PDFium Component Docs

TPdfReadingSpeakEvent type

Unit: PDFium
Callback signature used by TPdfReadingSession.OnSpeak

Syntax

type TPdfReadingSpeakEvent = procedure(Sender: TObject; const Text: WString; Interrupt: Boolean) of object;

Parameters

SenderTObject - The reading session
TextWString - Chunk text to hand to the host speech engine
InterruptBoolean - True when the current engine queue should be interrupted before speaking

Remarks

See Also

TPdfReadingSession.OnSpeak, TPdfReadingSession.Tick