如何转换PDF格式的HTML报告(表) [英] How to Convert HTML Report(Table) in PDF format

查看:112
本文介绍了如何转换PDF格式的HTML报告(表)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何生成pdf格式的HTML报告表以生成报告

How to an HTML Report table in pdf format for genrating reports

推荐答案

您好,

您可以将HTML报告转换为PDF格式使用 Elerium HTML to PDF组件 [ ^ ]。它允许将html string / file / url转换为PDF,包括样式,但它不是免费的。我希望这个例子可以帮到你:

http://eleriumsoft.com/PDF_NET/ HTML2PDF / Examples / Create_PDF_using_HTML_string.aspx [ ^ ]

http://eleriumsoft.com/PDF_NET/HTML2PDF/Examples/Create_the_PDF_report_from_Database_Table .aspx [ ^ ]



免责声明:我为Elerium Software工作。
Hello,
You can convert HTML report to PDF like HTML string by using Elerium HTML to PDF component[^]. It allows to convert html string/file/url to PDF including styles, but it is not free. I hope this example will help you:
http://eleriumsoft.com/PDF_NET/HTML2PDF/Examples/Create_PDF_using_HTML_string.aspx[^]
http://eleriumsoft.com/PDF_NET/HTML2PDF/Examples/Create_the_PDF_report_from_Database_Table.aspx[^]

Disclaimer: I work for Elerium Software.


有很多解决方案可以将整个html,htm,aspx网页转换为PDF,如果你是这种情况,这个链接可以帮助你:

使用C#,VB.NET将网页保存为PDF [ ^ ]



但是,如果您的html不仅仅是表格并包含其他内容,您只需要将html表格提取为PDF格式,可以先从html中提取html表数据,然后使用PDF编辑器将表数据保存为PDF格式。
There are a lot of solutions to convert the whole html, htm, aspx webpage to PDF, if you are in this case, this link can help you:
Save Webpage as PDF with C#, VB.NET[^]

However, if your html is not only table and contains other content, you only need to extract the html table to PDF format, you can first extract html table data from html and use a PDF editor to save the table data to PDF.


这篇关于如何转换PDF格式的HTML报告(表)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆