winRT应用程序在分配VirtualSurfaceImageSource时会冻结和/或崩溃 [英] winRT app gets freezed and/or crashes while assigning VirtualSurfaceImageSource

查看:80
本文介绍了winRT应用程序在分配VirtualSurfaceImageSource时会冻结和/或崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用c#-XAML创建一个简单的Windows 8.1商店应用程序,其中单击按钮我将pdf文件呈现给VirtualSurfaceImageSource并将其分配给图像。



当缩放系数大于2时,app会冻结和/或崩溃,分配图像源需要花费太多时间。以下是该代码的链接,



https: //skydrive.live.com/redir?resid=6834830A45FD9C4C!153



在此先感谢

解决方案

Hi,
I am creating a simple windows 8.1 store app using c#-XAML in which on button click I render pdf file to VirtualSurfaceImageSource and assign it to the image.

In this when zoom factor is greater than 2, app gets freezed and/or crashes and it takes too much time for assigning image source. Below is the link to that code,

https://skydrive.live.com/redir?resid=6834830A45FD9C4C!153

Thanks In Advance

解决方案

这篇关于winRT应用程序在分配VirtualSurfaceImageSource时会冻结和/或崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆