Silverlight 4.0 PDF Viewer
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)
Comments
-
xscape over 3 years
Any free control to view PDF for Silverlight?
or how to view pdf in silverlight from memory stream?
-
xscape about 14 yearsCan you please post the sample code on how to implement those options browser based app?
-
xscape about 14 yearsI can't find any example on how use silverpdf.
-
ghost_mv over 10 yearsThe 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.