简体   繁体   中英

How to convert a word document to a text file in c# without using microsoft.office.interop?

I have plenty of different versions of word documents which have to be converted to text files.
I hope this link brings you right way How to extract text from Word files using C#? I want to read the content of the word document and remove all the formats(just have words in text files). I have done by using microsoft.office.interop(here, always instantiate a Word on the client) which is not recommended. So I am trying to create ac# project which should convert word to text automatically. Can anyone suggest me any 3rd party tool which should be efficient open source or reasonable price for all the versions of word to text file conversion in c#?

With Regards, Shanthini

Finally I found solution which perfectly works for me at the moment. I haven't test with 10000 documents. Here you go., http://sourceforge.net/projects/word-reader/?source=dlp Comments and suggestions are expecting about this solution...

Thank you, Shanthini

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM