Silverlight XPS Viewer

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

Recommended Download

Source Code
source code, 1059K, uploaded May 28, 2010 - 4539 downloads

Other Available Downloads

Source Code SilverlightXPSViewer
source code, 154K, uploaded May 3, 2010 - 530 downloads
Source Code
source code, 1059K, uploaded May 28, 2010 - 267 downloads

Release Notes

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.

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.

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.

• 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

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 9: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 5: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 4:42 AM