在C#.Net中将HTML内容转换为Pdf [英] Converting a HTML Content to Pdf in C# .Net

查看:122
本文介绍了在C#.Net中将HTML内容转换为Pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个控制台应用程序,并且我有一个具有html内容的字符串变量.字符串内容有一个包含三行的表.

I am writing a console application and i have a string variable that has html content. String Content has a table with three rows.

第一行内部有一个表格.

1st row has a table inside it.

第二行里面也有一张表.

2nd row also has a table inside it.

第三行带有一个包含一个图像的图像标签.

3rd row has a image tag which has one image.

我想拥有一种将htmml字符串内容转换为pdf的方法.

I would like to have a method which will convert the string htmml content to pdf.

我使用了EO.pdf(第三方dll),它可以转换前两行,但看不到我的图像.

I used EO.pdf (third party dll) it converts the first two rows but i cannot see my image.

我也想以pdf格式查看图片和其他文字.

I would like to see images + my other text also in pdf.

请告知.

谢谢.

推荐答案

嗨恩库什,


我将您的线程移至
Visual C#常规 论坛以提供专用支持.谢谢您的理解.


I am moving your thread into the
Visual C# General Forum for dedicated support. Thanks for your understanding.

最好的问候,


这篇关于在C#.Net中将HTML内容转换为Pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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