Voice.SpeakHoursSync() Method
Speak a value in hours as hours, minutes, and seconds. Returns only after speech is complete. Use only when absolutely necessary. No error is generated if speech is not available.
Syntax
Voice.SpeakHoursSync(Hours)
The method syntax has these parts:
Part |
Description |
Hours (Double) |
numeric value to be spoken in hours/minutes/seconds |
Return (Nothing) |
Does not return a value. |
Remarks
Speaks the numeric value in hours, minutes, and seconds, for example "twenty three hours, nine minutes, eighteen seconds". SpeakHours() returns asynchronously; it may return before the text has been completely spoken. SpeakHoursSync() will not return until the text has been spoken. Use SpeakHours() unless you absolutely must wait.
Copyright © 2000-2016, Robert B. Denny, Mesa, AZ