询问者
?????

常规讨论
全部回复
-
Hi,
Windows 8.1没有直接的API可以支持分布加载。但是在windows 8.1 的PDF API里面有一个PdfDocument.LoadFromStreamAsync(IRandomAccessStream)方法是根据流来实现PDF文件的加载。如果您想实现分布加载,可以在读取文件的时候以流的形式读取PDF文件的内容,然后再分割文件流,根据分割后的流来分布加载PDF。
祝您好运!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> 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. -
Hi,
windows 8.1里面只能提供简单的PDF文件处理的API。关于分布加载没有直接的方法。您可以寻求第三方的
产品。
请您参考下:
http://www.pdftron.com/pdfnet/mobile/windows8_winrt_pdf_library.html
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> 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.- 已编辑 Anne JingModerator 2013年11月1日 9:27 edit
-
-
如同蒋晟所言,用C#代码重现了一下,读取一个140M大小的PDF并未出现异常,并且只消耗15M内存。
能具体说明下你的问题么,比如说打开了PDF文件之后做了什么样的后续动作,或者你可以试一下比较小的文件看看是否有相同的问题存在。一般Store App会有大小限制,我猜想是否是因为你后续展示文件的时候超过了应用可使用的内存上限导致程序崩溃。
--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. -
-
-
-