Silverlight 4.0 PDF Viewer

31,703

Solution 1

Try this question: Previewing PDF and PowerPoint files with Silverlight/Flash

Other maybe useful links: http://forums.silverlight.net/forums/p/23986/85909.aspx#85909

http://www.siberix.com/reporting.html#pdf-sparkle - Costs money though!

http://forums.silverlight.net/forums/t/70573.aspx

You could use this to edit/print to pdf

Try codeplex: http://silverlightpdf.codeplex.com/

Works with Silverlight 3 not used it with Silverlight 4 beta yet.

Solution 2

I found a solution by using an iframe and HTMLPage.

 <iframe id="mediaContainer" style="position:absolute"/>

place this iframe in .aspx

and then call your mediacontainer then set its properties.

System.Windows.Browser.HtmlElement myFrame = System.Windows.Browser.HtmlPage.Document.GetElementById("mediaContainer");

Solution 3

www.netpdftools.com - SL library for viewing PDFs and extracting/searching text

Solution 4

One easy way is that you can just use HTML brush to embeded the PDF.

OR you may try http://silverpdf.codeplex.com/.

Solution 5

One option is to convert the PDF pages to PNG using ImageMagick or GhostScript.

It isn't free, but our Silverlight controls can do this on the fly for you using our own PDF Rasterizer.

(Disclaimer: I work here)

http://atalasoft.com/products/dotimage/silverlight

Share:
31,703
xscape
Author by

xscape

simple and straight forward

Updated on August 31, 2020

Comments

  • xscape
    xscape over 3 years

    Any free control to view PDF for Silverlight?

    or how to view pdf in silverlight from memory stream?

  • xscape
    xscape about 14 years
    Can you please post the sample code on how to implement those options browser based app?
  • xscape
    xscape about 14 years
    I can't find any example on how use silverpdf.
  • ghost_mv
    ghost_mv over 10 years
    The only problem here for us was that if you wanted to pop a modal information/error dialog from silverlight it would end up beneath that iframe.