询问者
Windows.Media.Capture 能否在win10 uwp程序中使用?

问题
全部回复
-
Hi,感谢你在MSDN论坛发帖。
因为你的问题涉及到uwp开发问题,我将把你的帖子移到UWP讨论论坛。
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
-
你好,
之前WP8.1的平台是有ScreenCapture类可以用的,但是Windows 10上就没有支持了。
Stackoverflow上有个帖子说,可以用W8.1上的方法来为UWP程序截屏。请参考:
And for now there is no API can be used directly to capture the screen on a desktop from an UWP app. However, as a workaround method, we can render the XAML tree to a bitmap, to do this, please refer to Capturing Snapshot in Windows 8.1 Store App.
Keep Fighting