Click here to Skip to main content
15,884,679 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Hello every body , i have made program which convert .txt files from text to speech , but i want to improve it to allow it to read pdf files and convert it to speech(voice) ,



my question , Can i do it?? help me how, please??
Posted
Comments
David_Wimbley 12-May-14 16:19pm    
use itextsharp to grab the text out of the PDF then use your current code in which you say you've got written to convert the text to speech.
Sergey Alexandrovich Kryukov 12-May-14 16:21pm    
Text to speech requires text on output. PDF is not text. As soon as you extract text from some PDF document, you can feed it to text-to-speech.
—SA

1 solution

Please see the comments to the question.

Reading PDF is covered in this short CodeProject article: Converting PDF to Text in C#[^].

And here is how to use text-to-speech in .NET: http://msdn.microsoft.com/en-us/library/system.speech.synthesis%28v=vs.110%29.aspx[^].

That's all.

—SA
 
Share this answer
 
Comments
Member 10451449 18-May-14 11:23am    
thanks alot for you
Sergey Alexandrovich Kryukov 18-May-14 13:14pm    
You are very welcome.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900