PDFium Delphi Component Docs

evento OnSpeak

Class: TPdfReadingSession  ·  Unidad: PDFium
Se dispara cuando el host debe pronunciar un fragmento

Syntax

property OnSpeak: TPdfReadingSpeakEvent;

Description

The handler receives the chunk text and an Interrupt flag telling the host whether to clear the current speech queue first

Remarks

Example

procedure TForm1.ReadingSessionSpeak(Sender: TObject; const Text: WString; Interrupt: Boolean);
begin
  SpeechEngine.Speak(Text, Interrupt);
end;

See Also

TPdfReadingSession, TPdfReadingSpeakEvent