Alright, as you may very well know, you can translate any word using Google Translate. But Google has a secret weapon; a builtin Google Translate.
<Grid x:Name="LayoutRoot" Background="Transparent"> <TextBlock HorizontalAlignment="Left" Margin="109,74,0,0" TextWrapping="Wrap" Text="Text To Speech" VerticalAlignment="Top" FontSize="36"/> <TextBox x:Name="txt1" HorizontalAlignment="Left" Height="72" Margin="10,184,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="460"/> <Button Content="Speak!" HorizontalAlignment="Left" Margin="169,256,0,0" VerticalAlignment="Top" Click="Button_Click_1"/> <MediaElement x:Name="med1" HorizontalAlignment="Left" Height="248" Margin="10,354,0,0" VerticalAlignment="Top" Width="460"/> </Grid>
<Grid x:Name="LayoutRoot" Background="Transparent"> <TextBlock HorizontalAlignment="Left" Margin="109,74,0,0" TextWrapping="Wrap" Text="Text To Speech" VerticalAlignment="Top" FontSize="36"/> <TextBox x:Name="txt1" HorizontalAlignment="Left" Height="72" Margin="10,184,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="460"/> <Button Content="Speak!" HorizontalAlignment="Left" Margin="169,256,0,0"
public static string path = "http://translate.google.com/translate_tts?tl=en&q=";
med1.Source=new Uri(path + txt1.Text); med1.Play();
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: