Shooting a webpage in the Windows 8 Metro app

I am trying to take a screenshot of a webpage in a Windows 8 Metro application. So far, the only useful control has been WebView . Unfortunately, it does not contain any method such as DrawToBitmap (known from the Forms WebBrowser ). Did I miss something?

In another approach, the focus will be on introducing some JS (e.g. html2canvas) to the page presented in WebView , but I don't think this is possible due to security concerns. I would really appreciate any help.

+4
source share
1 answer

WebViewBrush is similar to WebView, except its non-interactive and brush, so you can display it wherever you want.

0
source

Source: https://habr.com/ru/post/1415801/


All Articles