如何使用ASP.NET C中的图像将HTML页面转换为pdf [英] How to convert HTML page into pdf with images in ASP.NET C#

查看:59
本文介绍了如何使用ASP.NET C中的图像将HTML页面转换为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用asp.net c#中的图像将html页面转换为pdf,其中包含image.mappath('abc')的原始路径。我已经做了很多谷歌搜索但没有任何反应所以请帮助我问题。



我尝试过的事情:



i已经尝试过itextsharp。 dll但它只转换文本而不是图像。所以我想创建带有图像原始路径图像的pdf。

How to convert html page into pdf with images in asp.net c# which contains original path of image.using like sever.mappath('abc').i have done lots of googling but nothing happen so please help me out this problem.

What I have tried:

i have tried itextsharp.dll but it convert only text not images.so i want create pdf with images of original path of images.

推荐答案

请谷歌搜索这样的事情。谷歌有330万个结果,你的确切标题是这个问题,第一页的结果包含回答这个问题的链接。



一旦开始这个,如果您遇到问题,请回过头来查看您的问题和代码示例,您将获得更有意义的帮助。到那时,下面的链接回答你的问题。



如何使用ASP.NET C中的图像将HTML页面转换为pdf - Google搜索 [ ^ ]
Please do a google search for things like this. There are 3.3 million results on google for your exact title of this issue and the first page of results contains links that answer this question.

Once you get started on this, and if you get stuck somewhere, come back with your issue and code samples and you'll get more meaningful assistance. Till then, the link below answers your question.

How to convert HTML page into pdf with images in ASP.NET C - Google Search[^]


这篇关于如何使用ASP.NET C中的图像将HTML页面转换为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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