PDFium Component Docs

رویداد OnSpeak

Class: TPdfReadingSession  ·  Unit: PDFium
وقتی میزبان باید یک chunk را بخواند رخ می‌دهد

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