LitDev.LDSpeech.Speak C# (CSharp) Method

Speak() public static method

Speak some text.
public static Speak ( Primitive text ) : void
text Primitive /// Text to be spoken. ///
return void
        public static void Speak(Primitive text)
        {
            try
            {
                _speak.Rate = _speed;
                _speak.Volume = _volume;
                _speak.SelectVoice(_voice);
                _speak.Speak(text);
            }
            catch (Exception ex)
            {
                Utilities.OnError(Utilities.GetCurrentMethod(), ex);
            }
        }