开发者

ASP.Net to PDF conversion

开发者 https://www.devze.com 2023-03-10 02:03 出处:网络
I am using Itextsharp version 5.0.6 to convert Asp.net page into PDF. I am not able to create the PDF from the HMTML string with the css. If any one knows how to do with css please help me.

I am using Itextsharp version 5.0.6 to convert Asp.net page into PDF. I am not able to create the PDF from the HMTML string with the css. If any one knows how to do with css please help me.

If any one has experience in iTextsharp kin开发者_运维问答dly advice me and share your experience.

Thanks, Parthasarathy M


Having worked with iText's old HTML->PDF code, I can suggest that you:

  1. Accept more answers to your questions. :P
  2. Don't do that. iText's HTML->PDF converter is acceptable, but its CSS support is still spotty. The new XMLWorker is an improvement, but there's still Much Better Options available to you.

I've been a committer on iText for a couple years now. HTML->PDF conversion is not its strength. Getting better, still a long way to go.

In particular, I'm quite happy with the results from WKHTML2PDF. I was able to render an HTML page with a GOOGLE MAP to PDF. You won't find that anywhere else (other than a browser's theoretical "current page to PDF" function, which I haven't heard of as yet).

0

精彩评论

暂无评论...
验证码 换一张
取 消