MonobjcMonobjc Documented Class Library
SpeechSynthesizerWillSpeakWordOfString Method (sender, wordToSpeak, text)
NamespacesMonobjc.AppKitINSSpeechSynthesizerDelegateSpeechSynthesizerWillSpeakWordOfString(NSSpeechSynthesizer, NSRange, NSString)

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 BasicVisual C++
void SpeechSynthesizerWillSpeakWordOfString(
	NSSpeechSynthesizer sender,
	NSRange wordToSpeak,
	NSString text
Sub SpeechSynthesizerWillSpeakWordOfString ( _
	sender As NSSpeechSynthesizer, _
	wordToSpeak As NSRange, _
	text As NSString _
void SpeechSynthesizerWillSpeakWordOfString(
	NSSpeechSynthesizer^ sender, 
	NSRange wordToSpeak, 
	NSString^ text
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)