How to capture the screen in a Metro C# app

左心房为你撑大大i 提交于 2019-12-04 16:14:02

No, there is no way for a Metro style app to do this. By design they cannot directly interact with other apps outside of themselves, including capturing screenshots which may include other apps. There also isn't a way for a Metro style app to render Xaml elements to a bitmap so you can't readily implement this for your own app. --Rob

More details are found here : MSDN Forum

I haven't test this solution but it might work if you try to let your app press the Window Key + PrintScreen and it should put the picture into the Pictures folder from there you can access the picture through Windows Integration (I think)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!