(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Showcase

Page  

Silverlight XPS Viewer

Project Description
New Silverlight XPS viewer

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

 

Demo here
http://110sol.com/Silverlightxpsviewer.aspx

Tags: silverlight-xps-viewer , xps-viewer , silverlight-4 , silverlight-xps , document-to-xps , office-document-to-xps
    • Jumpman 23 Jordan Mosiac
    • Silverlight 4 Festive Game
    • DelhiTechnoGradz Pivot
Page