Exemple #1
0
        public static bool OptionTextToSpeech(string text, bool isEmulatorMode = false)
        {
            TextToSpeechForm f = (TextToSpeechForm)InputFormRef.JumpFormLow <TextToSpeechForm>();

            text = TextForm.StripAllCode(TextForm.ConvertEscapeTextRev(text));
            f.SetDefString(text);
            f.SetEmulatorMode(isEmulatorMode);
            f.ShowDialog();

            return(g_VoiceSpeeach != null);
        }