Previewing PDF and PowerPoint files with Silverlight/Flash

旧街凉风 提交于 2020-01-01 05:29:35

问题


I'm looking for code or a good control to preview PDFs and PPTs with Silverlight or Flash. It would be great if it has nice page-curl functionality.

We want our customers to be able to have a look at their reports in a spiffy way.


回答1:


Some ideas for Silverlight display:

  • PPT Viewer
  • PDF for Silverlight
  • TextGlow
  • Page Curl



回答2:


Flash can only display Jpg images, therefore will need to convert each page of the PDF or PPT to a jpg file, then import these into a flash page turner component.

PDF files can be rasterized or converted to jpg using GhostScript.

PPT files could be printed to PostScript(PS) through Office automation or other library, The PS can then also be converted to jpg using GhostScript.

I have done this in Flash and would assume the same applies for Silverlight.

This is what is required at a low level.



来源:https://stackoverflow.com/questions/1224346/previewing-pdf-and-powerpoint-files-with-silverlight-flash

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