拖拽使用PDF文件时丢弃崩溃 [英] Drag & Drop crash when use PDF files

查看:89
本文介绍了拖拽使用PDF文件时丢弃崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我有应用程序,它使用的是Microsoft Silverlight和IE,问题是什么时候拖动&删除任何崩溃的PDF文件,但是对于运行良好的其他文件,MSG是:

I have application, it use Microsoft Silverlight and IE, the problem is when drag & Drop any PDF file it crashed, but with other files it running good, the MSG is:

System.ArgumentOutOfRangeException:[Arg_ArgumentOutOfRangeException]

http://go.microsoft.com/fwlink/?linkid=106663&Version= 5.1.50907.00& File = mscorlib.dll& Key = Arg_ArgumentOutOfRangeException   < br style ="">
参数名称:pixellHeight

在System.Windows.Media.Imaging.WriteableBitmap..ctor (Int32 pixelWidth,Int32 pixelHeight)

在Drag_and_Drop_File_Upload.MainPage.RenderPhoto(Stream stre am,String FileName)

你有什么评论可以帮助我吗?

Will you have any comments that help me?

问候。




推荐答案

PDF是否包含几张照片?

Does the PDF contains a couple of images?

RadPdfViewer使用全尺寸32位位图来存储解码图像。您可以通过  公共门户网站中的这个
项目
。 

RadPdfViewer uses full size 32bit bitmap to store the decoded images. You can refer this issue through this item in the public portal

 

问候,

Fletcher


这篇关于拖拽使用PDF文件时丢弃崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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