本文介绍了使用iText将HTML转换为PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道是否可以使用iText将HTML页面(url)转换为PDF?



如果答案是否定的,因为我会停止浪费我的时间去尝试解决问题,并且花费一些钱在我知道的许多组件之一上:)

在此先感谢您的回应!

解决方案

我想这正是您要找的东西






Does anyone know if it is possible to convert a HTML page (url) to a PDF using iText?

If the answer is 'no' than that is OK as well since I will stop wasting my time trying to work it out and just spend some money on one of a number of components which I know can :)

Thanks in advance for your responses!

解决方案

I think this is exactly what you were looking for

http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html

http://code.google.com/p/flying-saucer

这篇关于使用iText将HTML转换为PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 09:56
查看更多