Any free control to view PDF for Silverlight?
or how to view pdf in silverlight from memory stream?
Any free control to view PDF for Silverlight?
or how to view pdf in silverlight from memory stream?
One easy way is that you can just use HTML brush to embeded the PDF.
OR you may try http://silverpdf.codeplex.com/.
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");
Try this question: http://stackoverflow.com/questions/1224346/previewing-pdf-and-ppt-with-silverlight-flash
Other maybe useful links: http://forums.silverlight.net/forums/p/23986/85909.aspx#85909
http://www.siberix.com/silverlight/pdfsparkle/index.html - 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.
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)
A bit more Silverlight friendly solution (which does not rely on present of Acrobat) is to use SilverDox from PDFTron (http://www.pdftron.com/silverdox/)
The Silverlight viewing control is free. Besides PDF, SilverDox also directly supports XPS, MS Office, HTML and other formats.
The main advantage is that you have predictable behavior on all platfroms and do not depend on other ActiveX controls. Unlike Acrobat, you can also customize the viewer as much as required.