Question

I'm trying to take screen shot of web page in Windows 8 Metro app. So far the only helpful control is the WebView. Unfortunately it does not contain any method like DrawToBitmap (known from Forms WebBrowser control). Am I missing something?

Different approach would focus on injecting some JS (e.g. html2canvas) to page rendered in WebView but I don't think it is possible due to security reasons. I would greatly appreciate any help.

Était-ce utile?

La solution

WebViewBrush is like WebView except its non-interactive and its a brush so you can render it wherever you want

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top