In an ASP.NET project I need to generate a PDF for the user to download which is made from HTML. That HTML has img's in it too, which need to be embedded. It would also be great if links are clickable.
在ASP.NET项目中,我需要生成一个PDF供用户下载,它是由HTML制作的。那个HTML也有img's,需要嵌入。如果链接是可点击的也会很棒。
Now i've tried a whole range of different product demo's, and they all either don't work, are classic ASP, or are horridly expensive.
现在我已经尝试了一系列不同的产品演示,它们都不起作用,是经典的ASP,或者非常昂贵。
This is for a commercial application.
这是用于商业应用。
The most promising (although expensive) looked like http://www.websupergoo.com/abcpdf-1.htm but the example code from HTML to PDF (found here: http://www.websupergoo.com/helppdf8net/source/5-abcpdf6/doc/1-methods/addimagetochain.htm)crashes IIS, on every page I try, with a very generic error message.
最有希望的(尽管很昂贵)看起来像http://www.websupergoo.com/abcpdf-1.htm但是从HTML到PDF的示例代码(在这里找到:http://www.websupergoo.com/helppdf8net/source/ 5-abcpdf6 / doc / 1-methods / addimagetochain.htm)在我尝试的每个页面上崩溃IIS,带有非常通用的错误消息。
Please can someone suggest a product for this. I can't run an CMD line app on the server unfortunately, so it does have to be just a dll that I stick in.
请有人可以为此推荐一款产品。不幸的是,我不能在服务器上运行CMD线路应用程序,因此它必须只是我坚持的dll。
3 个解决方案
#1
1
My colleague found Evo PDF, http://www.evopdf.com/. We've used it successfully to generate PDFs from HTML, with images, clickable links, and a multitude of other features. I think that it uses the Webkit rendering engine. It's a .NET library that sits on your server. Very easy to use and excellent reproduction.
我的同事找到了Evo PDF,http://www.evopdf.com/。我们已成功使用它从HTML生成PDF,包括图像,可点击链接和众多其他功能。我认为它使用Webkit渲染引擎。它是一个位于您的服务器上的.NET库。非常容易使用和出色的复制。
#2
0
This looks promissing: http://sourceforge.net/projects/pdfizer/ Not from personal experience, but I see some recommendations, and best of all - it's free :) And a code example: http://www.devtoolshed.com/content/c-free-component-generate-pdf-convert-html-pdf
这看起来很有希望:http://sourceforge.net/projects/pdfizer/不是来自个人经验,但我看到了一些建议,最重要的是 - 它是免费的:)还有一个代码示例:http://www.devtoolshed.com /内容/ C无 - 分量 - 产生-PDF变频-HTML-PDF
#3
0
I have personally worked on this product, which has been optimised for server based environments and works via a web services based interface. It can convert other formats as well and includes a strong watermarking and PDF Security engine.
我亲自致力于此产品,该产品已针对基于服务器的环境进行了优化,并通过基于Web服务的界面进行工作。它还可以转换其他格式,并包含强大的水印和PDF安全引擎。
#1
1
My colleague found Evo PDF, http://www.evopdf.com/. We've used it successfully to generate PDFs from HTML, with images, clickable links, and a multitude of other features. I think that it uses the Webkit rendering engine. It's a .NET library that sits on your server. Very easy to use and excellent reproduction.
我的同事找到了Evo PDF,http://www.evopdf.com/。我们已成功使用它从HTML生成PDF,包括图像,可点击链接和众多其他功能。我认为它使用Webkit渲染引擎。它是一个位于您的服务器上的.NET库。非常容易使用和出色的复制。
#2
0
This looks promissing: http://sourceforge.net/projects/pdfizer/ Not from personal experience, but I see some recommendations, and best of all - it's free :) And a code example: http://www.devtoolshed.com/content/c-free-component-generate-pdf-convert-html-pdf
这看起来很有希望:http://sourceforge.net/projects/pdfizer/不是来自个人经验,但我看到了一些建议,最重要的是 - 它是免费的:)还有一个代码示例:http://www.devtoolshed.com /内容/ C无 - 分量 - 产生-PDF变频-HTML-PDF
#3
0
I have personally worked on this product, which has been optimised for server based environments and works via a web services based interface. It can convert other formats as well and includes a strong watermarking and PDF Security engine.
我亲自致力于此产品,该产品已针对基于服务器的环境进行了优化,并通过基于Web服务的界面进行工作。它还可以转换其他格式,并包含强大的水印和PDF安全引擎。