PDFium Delphi Component Docs

OnSpeak 이벤트

Class: TPdfReadingSession  ·  유닛: 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