Generating Pdf from webpage in asp.net

狂风中的少年 提交于 2019-12-06 10:17:22

ITextSharp does almost what you ask and is Open Source, however the API for conversion process has not been touched for years and is outdated. I therefore would recommend a commercial product.

Something like Winnovative HTML to PDF Converter

To be honest I look at it like this, you can save money by buying a licence for a commercial product rather than spending days developing a solution yourself.

Edit If it is for generating invoices alone then I would use iTextSharp as it does not take long to learn the basics. However if you want to be able to convert a full rich webpage into a PDF then go down the commercial route.

When doing invoices, I usually go a slightly different way, by starting with Aspose.Words and using the nested mail merge feature.

Another option could be the HTML to PDF feature of Aspose.Pdf.

Both libraries are commercial only, I don't know whether this is appropriate for your project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!