Silverlight 4.0 PDF Viewer [closed]

血红的双手。 提交于 2019-12-30 01:51:10

问题


Any free control to view PDF for Silverlight?

or how to view pdf in silverlight from memory stream?


回答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.




回答2:


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

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




回答3:


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");



回答4:


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




回答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



来源:https://stackoverflow.com/questions/2467307/silverlight-4-0-pdf-viewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!