在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.

最好的问候,