简体   繁体   English

在ASP.NET(VB)上将HTML转换为PDF?

[英]Convert HTML to PDF on ASP.NET (VB)?

I have data stored in the database with HTML format , and I want to get the value of this html content with MyReader.getString() after getting the html code I must do the conversion to PDF Format. 我已经以HTML format将数据存储在数据库中,并且我想在获取html代码后使用MyReader.getString()获取此html内容的值,我必须将其conversionPDF格式。

You have any idea on how can I do it ? 您对我该怎么办有任何想法? !! !!

Pdfcrowd has an online API that lets you convert HTML to PDF. Pdfcrowd有一个在线API,可让您将HTML转换为PDF。 They have, among others, a client library for .NET. 除其他外,他们还有.NET的客户端库。 The API is pretty easy to use. 该API非常易于使用。

Use a tool like webSuperGoo's ABCpdf, I've used it in the past and I found it quite easy to setup and use. 使用过诸如webSuperGoo的ABCpdf之类的工具,我过去已经使用过它,并且发现它非常易于设置和使用。

http://www.websupergoo.com/abcpdf-5.htm http://www.websupergoo.com/abcpdf-5.htm

您可以将整个HTML内容放入Word(作为HTML文档)并将其提取为PDF。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM