开发者

Screen capture of Winforms control instance that is not on a Form

Is there a way to obtain a bitmap rendering of a Windows Forms control, specifically a WebBrowser, upon creating an instance, but not adding it to a visible form? A mechanism like WPF's measure & arrange that would allow me to render it to a bitmap.

I'm targetting .NET 4.0 and looking for a way to captu开发者_开发问答re the WebBrowser control's contents without ever displaying it.


See this question: WebBrowser.DrawToBitmap() or other methods?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜