Html文件到Pdf转换 [英] Html File to Pdf Convertion
本文介绍了Html文件到Pdf转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想创建一个以HTML页面标记为参数并将其转换为PDF格式的函数。
i has使用iTextSharp完成但图像和CSS颜色不会出现,如果有任何其他开源DLL可用,请告诉我。或者我想要转换相同外观的任何方式,颜色如html
Hi all,
I want to make a function which takes HTML page tags as argument and convert it in PDF.
i have done using iTextSharp but images and css colors are not comming, if is there any other open source dll is available please let me know. or any ways i want to convert same look ,colors like html
推荐答案
我在这里看到了一个非常好的例子: asp.net c中的HTML到Pdf转换# [ ^ ]。
另见CP上的类似帖子:如何使用ASP.Net(C#)将Html文件转换为PDF文件。 [ ^ ]
- Amit
I've seen a very nice example here : Html to Pdf conversion in asp.net c#[^].
Also see a similar thread on CP : How to Convert Html file into PDF file using ASP.Net(C#).[^]
--Amit
查看此链接 - 将任何文件转换为pdf [ ^ ]
谢谢你。
See this link - Convert any file to pdf[^]
thank u.
这篇关于Html文件到Pdf转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文