Sent just before a synthesized word is spoken through the sound output device.
Original signature is '- (void)speechSynthesizer:(NSSpeechSynthesizer *)sender willSpeakWord:(NSRange)wordToSpeak ofString:(NSString *)text'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void SpeechSynthesizerWillSpeakWordOfStringMessage( NSSpeechSynthesizer sender, NSRange wordToSpeak, NSString text )
Public Sub SpeechSynthesizerWillSpeakWordOfStringMessage ( _ sender As NSSpeechSynthesizer, _ wordToSpeak As NSRange, _ text As NSString _ )
public: void SpeechSynthesizerWillSpeakWordOfStringMessage( NSSpeechSynthesizer^ sender, NSRange wordToSpeak, NSString^ text )
Parameters
- sender (NSSpeechSynthesizer)
- An NSSpeechSynthesizer object that’s synthesizing text into speech.
- wordToSpeak (NSRange)
- Word that sender is about to speak into the sound output device.
- text (NSString)
- Text that is being synthesized by sender.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)