Silverlight XPS Viewer

Rating:        Based on 3 ratings
Reviewed:  3 reviews
Downloads: 5315
Released: May 4, 2010
Updated: Jul 10, 2010 by AzharTheGreat
Dev status: Stable Help Icon

Recommended Download

Source Code SilverlightXPSViewer.zip
source code, 1059K, uploaded May 28, 2010 - 4527 downloads

Other Available Downloads

Source Code SilverlightXPSViewer
source code, 154K, uploaded May 3, 2010 - 526 downloads
Source Code SilverlightXPSViewer.zip
source code, 1059K, uploaded May 28, 2010 - 262 downloads

Release Notes

Background:
During my development last week I was working on a Silverlight based XPS viewer. During this viewer we came to a situation in which the an XPS was made from power point slide. In that PPT two images were shown during rendering the images present in it.

Problem:
The problem is that Silverlight doesn’t have any viewport or viewbox support. Along with these problems, the font files need to be downloaded externally so that we can render them in our XPS Viewer.

Findings:
Microsoft has provided support in Silverlight 4, Glyphs has a property of FontSource by which we can assign any font file stream to that. By this provision I was able to provide font files to XPS Viewer, this saved any extra DLL to be downloaded separately.

Features:
• Viewbox and Viewport support in Silverlight 4
• No extra DLL required to be downloaded while rendering the XPS.
• ZoomIn/ZoomOut support.

Future work:
• Addition of Open File Dialog support, so that client can view files from its local machine.
• Printing XPS from Silverlight

Live Demo
http://www.110sol.com/SilverlightXPSViewerTestPage.aspx

Reviews for this release

     
Very nice, works good. But there are some performance issues with large XPS files with images.
by devlanfear on May 31, 2011 at 8:51 AM
     
Doesn't run correctly after compilation. Demo not running. Worst, it is listed allover silverlight blogs and forum posts for an xps viewer solution. I am going to go over the code to try and correct the issues but this particular download is not ready for non-programmers.
by DaveCS on Feb 16, 2011 at 4:35 PM
     
1. No binary for download. I don't have SL4 compiler, it makes impossible to show my partner for proof of concept. 2. Live Demo doesn't work. Again, I am not able to convince others with a demo.
by binchang on Nov 23, 2010 at 3:42 AM