Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Wed Jun 05, 2013 2:28 pm

Hello,

Have downloaded the evaluation version to try and convert RTF files to PDF and have a problem.

Got a simple RTF document with 3 images, but the resulting PDF has no images only the text.

Code: Select all
Document doc = new Document();
doc.LoadFromFile(Server.MapPath("testdoc.rtf"), FileFormat.Rtf);
doc.SaveToFile(Server.MapPath("testdoc.pdf"), FileFormat.PDF);


Is there an option or setting needed to preserve the images?

Thanks,
Mike

MikeBeale
 
Posts: 10
Joined: Wed Jun 05, 2013 1:29 pm

Thu Jun 06, 2013 3:12 am

Hello MIke,

Thanks for your inquiry.

We couldn't reproduce the issue with the Spire.Doc4.9. Please provide us the Rtf file, so that we could reproduce the issue and work out the solution for you ASAP.

Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Jun 06, 2013 8:03 am

Hi Gary,

Thanks for your reply.
I've attached a zip file that contains the .rtf file, the 3 images as they are linked rather than embedded, and the resulting pdf file I get.

Cheers,
Mike
You do not have the required permissions to view the files attached to this post.

MikeBeale
 
Posts: 10
Joined: Wed Jun 05, 2013 1:29 pm

Thu Jun 06, 2013 9:07 am

Hello Mike,

Thanks for your reply.

The issue has been reproduced, which has been transferred to our Dev team. Once there are any response from them, I will get it back to you immediately. Sorry for inconvenience.

If there are any questions, welcome to get it back to us.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Jun 13, 2013 7:47 am

Dear Mike,

Thanks for your waiting.
We have fixed this issue. Our dev team will test the fix. Once the fix is ok, we will release a new version and tell you.

Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2328
Joined: Wed Jun 27, 2012 8:50 am

Mon Jun 17, 2013 7:26 am

Hello Mike,

The new hotfix of Spire.doc has been released, please download and test the Spire.Doc Pack (Hot Fix) Version:4.9.4 from
http://www.e-iceblue.com/Download/download-word-for-net-now.html

If there are any questions, welcome to get it back to us.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Mon Jun 17, 2013 1:24 pm

Hi Gary,

I've just tried the hotfix and it does appear to fix all the issues I've posted about,

Thanks for the quick response & on this,

Mike

MikeBeale
 
Posts: 10
Joined: Wed Jun 05, 2013 1:29 pm

Return to Spire.Doc