Previewing PDF and PowerPoint files with Silverlig

2019-03-29 23:51发布

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.

2条回答
我想做一个坏孩纸
2楼-- · 2019-03-30 00:17

Some ideas for Silverlight display:

查看更多
对你真心纯属浪费
3楼-- · 2019-03-30 00:28

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.

查看更多
登录 后发表回答