PDF previewing和观看 [英] PDF Previewing and viewing

查看:543
本文介绍了PDF previewing和观看的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个文档查看Web应用程序。您登录,它需要你,你必须在左侧列出您的所有文档的屏幕。我想使它这样,当你将鼠标悬停在文档的文档的preVIEW显示在右侧。从那里,你可以点击它的完整视图和打印功能。我不问如何做的一切,但我想知道什么是最好的办法是去渲染文档的preVIEW。这些文件都将是PDF和存储在服务器上。我在asp.net 3.5 MVC的工作在2008年的视觉工作室。

I'm creating a document viewing web application. You log in and it takes you to a screen where you have all your docs listed on the left. I want to make it so that when you roll over a document a preview of the document shows up on the right. From there you can click on it for a full view and printing capabilities. I'm not asking how to do all that but I'm wondering what the best way would be to go about rendering the preview of the document. The documents are all going to be pdfs and stored on a server. I'm working in asp.net 3.5 mvc in visual studios 2008.

推荐答案

有关创建PDF preVIEW,先看看StackOverflow上一些关于这个问题的其他讨论:

For creating the PDF preview, first have a look at some other discussions on the subject on StackOverflow:

  • How can I take preview of documents?
  • Get a preview jpeg of a pdf on windows?

如果这些不回答你的问题,你可以尝试一对夫​​妇更多的事情:

If these don't answer your question, you can try a couple more things:


  • 您可以得到一个商业渲染器( PDFViewForNet ,的 PDFRasterizer.NET ,的 ABCPDF ActivePDF ,...)。

    大多数是相当昂贵的,虽然,特别是如果你关心的是制作缩略图。

  • 有一个 $ C $的CProject文章的展示了如何使用Adobe的ActiveX,但它可能会过时,容易被新版本打破,其合法性是阴暗的。

  • 在服务器上安装Ghostscript的,并要求从任何网页的呈现缩略图。

    我做了一个小的项目,你会发现在开发前preSS论坛作为附件。

    小心通过Ghostscript的许可要求。

    我用它内部的软件,它的工作pretty很好。

  • You can get a commercial renderer (PDFViewForNet, PDFRasterizer.NET, ABCPDF, ActivePDF, ...).
    Most are fairly expensive though, especially if all you care about is making thumbnails.
  • There is a CodeProject article that shows how to use the Adobe ActiveX, but it may be out of date, easily broken by new releases and its legality is murky.
  • Install GhostScript on the server and request rendered thumbnails of any page from it.
    I did a small project that you will find on the Developer Express forums as an attachment.
    Be careful of the license requirements for GhostScript through.
    I use it for an internal software and it's working pretty well.

希望这有助于。

这篇关于PDF previewing和观看的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆