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.

Fri Aug 26, 2016 9:08 am

I found the package on nuget to convert html to rtf and I tried to attempt word to rtf but it's not correct.
Here is the word image:


Here is the rtf image:


This is code to convert doc to rtf:
document.LoadFromFile(@"E:\Docs\2.doc");
document.SaveToFile(@"E:\Docs\2121.rtf", FileFormat.Rtf);

Could you help me about this problem?. Thanks for your help.
Last edited by jane1992 on Mon Oct 24, 2016 2:48 am, edited 1 time in total.

jane1992
 
Posts: 1
Joined: Fri Aug 26, 2016 8:53 am

Mon Aug 29, 2016 2:07 am

Dear jane1992,

Sorry for late reply as weekend.
If you are using older version of Spire.Doc, firstly we suggest upgrading to the latest Spire.Doc Pack(hot fix) Version:5.7.72 . After trying this version, if the problem persists, please upload your sample document here, or you can send it to us(Support@e-iceblue.com) via email. That would be helpful to investigate this issue.

Thanks,
Betsy
E-iceblue support team
User avatar

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

Return to Spire.Doc