We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Query on rtf to doc conversion

Can you please provide us some code snippet for carrying out rtf to doc conversion?
We have tried with following:

Aspose.Words.Document doc = new Aspose.Words.Document();
doc.Save(FileName + "." + Doctype, Aspose.Words.SaveFormat.Rtf);

But it doesn’t turns out to be correct.

We have attached the converted rtf and doc formatted documents (using above code) for your reference.
Can you please check with this and let us know the details.

Following are the details of Aspose.Words which we are using

Product: Aspose.Words for .NET
File Version: 10.3.0.0
Product Version: 2011.07.30

This message was posted using Email2Forum by msabir. (attachment)

Hi,

Thanks for your inquiry.

To be able to convert RTF documents to DOC format, please use the following code snippet:

Document doc = new Document(@"c:\test\rtf.rtf");
doc.Save(@"c:\test\rtf_out.doc");

To be able to convert DOC documents to RTF format, please use the following code snippet:

Document doc = new Document(@"c:\test\doc.doc");
doc.Save(@"c:\test\doc_out.rtf");

Moreover, for more details about how to specify different saving options, I would suggest you to please visit the following link:

https://docs.aspose.com/words/net/save-a-document/

I hope, this will help.

Best Regards.