Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Feb 22, 2016 11:00 pm

I just downloaded the free Spire.PDF for .NET for evaluation. I find it to be a great product and very easy to integrate into my project. I am trying to convert an RTF string which I have already built and save it as a PDF. With Spire.PDF this works effortlessly. However I find that the conversion is missing my tables and footer in the RTF code. Do I need to do something special for those elements?

Also the RTF is a multi-page document and the PDF is not picking up any pages past the first one.

~AGP

sindizzy
 
Posts: 3
Joined: Mon Feb 22, 2016 10:55 pm

Tue Feb 23, 2016 2:05 am

Hi,

Thanks for your posting and using our component.
At present the latest version is Spire.PDF Pack(Hot Fix) Version:3.6.135, please try it. If the issue still exists, please share your RTF and code.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Tue Feb 23, 2016 4:17 pm

Downloaded the hotfix and it still doesn't show multiple pages from my RTF document. I opened the RTF with Microsoft Word and WordPad and an RTF viewer and they all show the multiple pages and the tables.

~AGP

sindizzy
 
Posts: 3
Joined: Mon Feb 22, 2016 10:55 pm

Wed Feb 24, 2016 2:01 am

Hi,

Thanks for your feedback. Sorry that it doesn't help.
Our Spire.Doc component also supports to convert RTF to PDF. It may have a good support for your RTF.
Please try Spire.Doc Pack(hot fix) Version:5.6.27.
If it doesn't help, please share your RTF for investigation so that we help you resolve it soon. You also send your file to [email protected].

Best Regards,
Amy
E-iceblue support team
User avatar

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

Wed Feb 24, 2016 7:41 pm

I have sent you a sample to your email address.

~AGP

sindizzy
 
Posts: 3
Joined: Mon Feb 22, 2016 10:55 pm

Thu Feb 25, 2016 3:55 am

Hi,

Thanks for your providing. I have received it via e-mail.
Please use our Spire.Doc component to convert your RTF to PDF and it will get a good output.
At present the latest version is Spire.Doc Pack(hot fix) Version:5.6.27, please test it.
Sample code:
Code: Select all
var doc = new Spire.Doc.Document(@"..\\..\\sample.rtf");
            doc.SaveToFile(@"..\\..\\Output\\6954.pdf", FileFormat.PDF);


Best Regards,
Amy
E-iceblue support team
User avatar

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

Return to Spire.PDF