Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDF-viewer for Silverlight for Windows Phone 7 (SilverDox?)

Is there any PDF-viewer control which can be used in a Silverlight for Windows Phone 7 application?

I've found this thread: Silverlight 4.0 PDF Viewer

and tried PDFTron's SilverDox but I didn't have any luck because my application crashes with the exception:

WindowsPhonePanoramaApplication1.dll!WindowsPhonePanoramaApplication1.App.RootFrame_NavigationFailed(object sender, System.Windows.Navigation.NavigationFailedEventArgs e) Line 109 + 0x5 bytes C#

..which is quite strange, I think. However, the SilverDox works in a "normal" (non Phone 7) Silverlight application.

Any suggestions?

like image 996
j00hi Avatar asked Nov 18 '10 21:11

j00hi


3 Answers

ComponentOne has a Windows Phone PDF Viewer and it's license-free to use as CTP. There are some performance issues and not the entire spec of PDF is supported (see the documentation) because it parses pdf data into XAML. http://www.componentone.com/SuperProducts/PdfViewerPhone/

like image 106
vanslyker Avatar answered Nov 03 '22 06:11

vanslyker


Windows Phone 7 runs a much more restricted version of Silverlight, therefore a full-fledged Silverlight 4 library might not work if it uses certain calls or objects that are not supported in the SDK.

I highly doubt that there is a free PDF viewing control right now for Windows Phone 7 - Adobe just released its Reader for WP7, so for now that might be the only way to read PDF documents on the device.

like image 30
Den Delimarsky Avatar answered Nov 03 '22 06:11

Den Delimarsky


I got an XPS Viewer up and running. For details see this post.

The blog post doesn't mention it, but it actually converts documents to XPS format. The Windows Phone application uses a Silverlight XPS Viewer that I found here.

like image 1
Jeroen Ritmeijer Avatar answered Nov 03 '22 05:11

Jeroen Ritmeijer