Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Awesomium .NET 1.7.0.5 并尝试从页面中检索图像元素并将其保存到内存/磁盘中。在早期版本中,这可以通过调用 webView.Render() 来实现。但是我注意到他们在最近的版本中删除了这个。有什么解决方法吗?
注意:我不想重新下载图像,因此检索图像 URL 然后再次下载不是一个选项。
你可以使用类似的东西:
((BitmapSurface) view.Surface).SaveToPNG("c:\\temp\\Page.png");
最好的