积极答复者
Windows应用商店应用能不能截取屏幕

问题
答案
-
你好。
Windows应用商店应用可以使用 RenderTargetBitmap 类的 RenderAsync 方法来截取当前应用屏幕。
具体用法参见:
RenderTargetBitmap 在windows store app 中的应用
Using the RenderTargetBitmap in Windows Store Apps with XAML and C#
- 已建议为答案 Jamles HezModerator 2014年7月22日 10:13
- 已标记为答案 lxylxy123456 2014年7月23日 12:32
-
这种情况是不能使用RenderTargetBitmap的,因为它只能截取应用内的控件。
只能通过PrtSc键截取屏幕了,但是商店应用本身不支持模拟按键,所以这个需求个人认为在商店应用中不能实现。
如果大家知道好的办法,还望分享出来。
- 已标记为答案 lxylxy123456 2014年7月23日 12:32
-
我也认为不可以,从系统层面来说,商店应用是运行在一个系统沙盒中的程序,所以最大的控制权限也仅仅局限于沙盒内部,而同时系统并未开放给沙盒任何修改或者获取系统数据的权限,所以无法实现这个功能。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 lxylxy123456 2014年7月23日 12:32
全部回复
-
你好。
Windows应用商店应用可以使用 RenderTargetBitmap 类的 RenderAsync 方法来截取当前应用屏幕。
具体用法参见:
RenderTargetBitmap 在windows store app 中的应用
Using the RenderTargetBitmap in Windows Store Apps with XAML and C#
- 已建议为答案 Jamles HezModerator 2014年7月22日 10:13
- 已标记为答案 lxylxy123456 2014年7月23日 12:32
-
这种情况是不能使用RenderTargetBitmap的,因为它只能截取应用内的控件。
只能通过PrtSc键截取屏幕了,但是商店应用本身不支持模拟按键,所以这个需求个人认为在商店应用中不能实现。
如果大家知道好的办法,还望分享出来。
- 已标记为答案 lxylxy123456 2014年7月23日 12:32
-
我也认为不可以,从系统层面来说,商店应用是运行在一个系统沙盒中的程序,所以最大的控制权限也仅仅局限于沙盒内部,而同时系统并未开放给沙盒任何修改或者获取系统数据的权限,所以无法实现这个功能。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 lxylxy123456 2014年7月23日 12:32