在.NET Compact Framework中使用WebBrowser控件获取网页的位图 [英] Get bitmap of an web page using WebBrowser Control in .net compact framework

查看:61
本文介绍了在.NET Compact Framework中使用WebBrowser控件获取网页的位图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Web浏览器控件中加载网页的位图,但发现.net紧凑框架中也缺少WebBrowser.CreateGraphics()甚至WM_PRINT(DrawToBitmap)消息响应.

I am trying out to get the bitmap of web page loaded in web browser control, but found that WebBrowser.CreateGraphics() and even WM_PRINT (DrawToBitmap) message response is also missing in .net compact framework.

通过Internet搜索后,发现其中的.net示例代码之一可以在位图中获得完整的网页

After searching through internet found one of the .net sample code which gets complete web page in bitmap

当我尝试通过适用于Windows Mobile 6.0的紧凑型框架进行移植时,发现缺少大多数API和方法.

When i tried porting it through compact framework for windows mobile 6.0 found that most of the API and methods missing.

我应该如何继续...

How should i go ahead with it...

在这方面的任何帮助将不胜感激.谢谢-Ramanand Bhat

Any help in this regard will greatly appreciated. Thanks- Ramanand Bhat

推荐答案

我试图通过asp.net应用程序对网页进行快照.我想该练习的一部分对您有用.

I've tried to take a snapshot of a web page via an asp.net application. I guess parts of that exercise would be useful to you.

您将对以下2个链接感兴趣:

You'd be interested in these 2 links:

http://69.10.233.10/KB/cs/webpage_thumbnailer.aspx http://deostroll.spaces.live.com/blog/cns!428DAD5E3A907C31!181.entry

希望这会有所帮助

这篇关于在.NET Compact Framework中使用WebBrowser控件获取网页的位图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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