Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu May 28, 2015 9:17 pm

Trying to Convert .doc to .txt with the below code:

Document document = new Document();
document.LoadFromFile("C:/miss/ConFiles/DocFiles/test.doc");


document.SaveToFile("C:/miss/ConFiles/DocxFiles/test.PDF", FileFormat.Txt);

I get an error saying Txt is not contacied in Spire.Doc.FileFormat

vinod.choudary
 
Posts: 1
Joined: Thu May 28, 2015 8:32 pm

Fri May 29, 2015 2:52 am

Hello,

Thanks for your inquiry.
Please check the version you used. Free Spire.Doc doesn’t support to convert .doc to .txt. It is only supported in Spire.Doc Pro version. You can download the Spire.Doc Pack ( hot fix) Version:5.4.15 from the following link and have a try.
http://www.e-iceblue.com/Download/downl ... t-now.html

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Doc