在Windows Phone的Silverlight中阅读pdf [英] pdf reading in silverlight for windows phone

查看:74
本文介绍了在Windows Phone的Silverlight中阅读pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为Windows Phone 7编写应用程序.我正在使用开发人员工具7.1.我需要在应用程序中打开一些pdf文件.

i am currently writing application for windows phone 7. i am using developer tools 7.1. i need to open some pdf files in my application.

我该怎么做?是否可以在不离开应用程序的情况下做到这一点?您能提供一些示例代码吗?

how can i do that? is it possible to do that without leaving the application?  can you give some sample codes. thanks for any kind of support.

推荐答案

对于您要以编程方式打开本地PDF文件的特定情况,WP7没有内置的机制.有第三方PDF查看器控件等:

For your specific scenario where you have local PDF files that you wish to open programmatically, there is no built in mechanism for WP7. There are third party PDF viewer controls etc.:

http://www.componentone.com/SuperProducts/StudioWindowsPhone/

http://amyuni.com/en/developer/pdfsilverlight/

http://silverpdf.codeplex.com/

http://www.pdftron.com/pdfnet/index.html

另一种选择是将PDF文件转换为其他格式,例如HTML,然后您可以使用WebBrowser控件进行查看.

Another option is to convert your PDF files to a different format such as HTML which you can then view using the WebBrowser control.

希望这会有所帮助,

标记


这篇关于在Windows Phone的Silverlight中阅读pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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