PDFium Delphi Component Docs

OnSpeak Événement

Class: TPdfReadingSession  ·  Unit: PDFium
Rappel utilisé pour générer la tranche de texte parlé à transmettre au moteur vocal

Syntax

property OnSpeak: TPdfReadingSpeakEvent;

Description

L hôte remplit ou ajuste TPdfSpokenText avant que la tranche ne soit lue

Remarks

Example

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

See Also

TPdfReadingSession, TPdfReadingSpeakEvent