PDFium Delphi Component Docs

OnSpeak evento

Class: TPdfReadingSession  ·  Unità: PDFium
Richiamato quando l host deve pronunciare un chunk

Sintassi

property OnSpeak: TPdfReadingSpeakEvent;

Descrizione

L'handler riceve il testo del blocco e un flag Interrupt che dice all'host se svuotare prima la coda vocale corrente

Osservazioni

Esempio

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

Vedi anche

TPdfReadingSession, TPdfReadingSpeakEvent