将HTML表转换为System.Drawing.Image [英] convert HTML Table to System.Drawing.Image

查看:55
本文介绍了将HTML表转换为System.Drawing.Image的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Can any one explain how to convert HTML to System.Drawing.Image?
<table border=0 width"100%">

<tr><td>Picture name</td> <td> Test Picture</td></tr>

<tr><td>Author name</td> <td> Test Author</td></tr>

<tr><td>Date Created</td> <td> Test Date</td> </tr>

</table>

I would like to create an images from the table 

TIA

推荐答案

第一种方式:CodeProject文章:用C#中的HTML到图像 [ ^ ]

第二种方式你可以使用IECAPT [ ^ ]并且它是免费的。

第三种方式您可以使用WebBrowser.DrawToBitmap方法。举例此处 [ ^ ]。



奖金链接 [ ^ ]。



祝你好运,

OI
1st way :The CodeProject article: HTML to Image in C#[^]
2nd way You can use IECAPT[^] and it is free.
3rd way You can use the WebBrowser.DrawToBitmap method. An example provided here[^].

And a bonus link[^].

Good luck,
OI


这篇关于将HTML表转换为System.Drawing.Image的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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