PDFium Component Docs

OnSpeak zdarzenie

Class: TPdfReadingSession  ·  Unit: PDFium
Wywoływane, gdy host ma wypowiedzieć segment

Syntax

property OnSpeak: TPdfReadingSpeakEvent;

Description

Procedura obsługi otrzymuje tekst segmentu i flagę Interrupt, mówiącą hostowi, czy najpierw wyczyścić bieżącą kolejkę mowy

Remarks

Example

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

See Also

TPdfReadingSession, TPdfReadingSpeakEvent