MonobjcMonobjc Documented Class Library
NSSpeechSynthesizer..::..SpeechSynthesizerWillSpeakWordOfStringEventHandler Delegate
NamespacesMonobjc.AppKitNSSpeechSynthesizerNSSpeechSynthesizer..::..SpeechSynthesizerWillSpeakWordOfStringEventHandler

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++
public delegate void SpeechSynthesizerWillSpeakWordOfStringEventHandler(
	NSSpeechSynthesizer sender,
	NSRange wordToSpeak,
	NSString text
)
Public Delegate Sub SpeechSynthesizerWillSpeakWordOfStringEventHandler ( _
	sender As NSSpeechSynthesizer, _
	wordToSpeak As NSRange, _
	text As NSString _
)
public delegate void SpeechSynthesizerWillSpeakWordOfStringEventHandler(
	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)

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