This project is read-only.
Project Description
New Silverlight XPS viewer

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

Last edited May 3, 2010 at 12:02 PM by AzharTheGreat, version 2