开发者

Generate PDF thumbnails in .NET without full Acrobat installed

开发者 https://www.devze.com 2023-01-15 02:35 出处:网络
I\'ve seen various methods fo开发者_运维问答r generating thumbnails of PDF files in .NET, but unfortunately all of them require full version of Acrobat installed. Is there a way for getting them with

I've seen various methods fo开发者_运维问答r generating thumbnails of PDF files in .NET, but unfortunately all of them require full version of Acrobat installed. Is there a way for getting them with free Adobe Reader or any other way?


I find Ghostscript to be just great, and it's free! For Windows, it comes as just a simple .dll and .exe, which you can programmatically launch from C#.


You need a PDF to TIFF or JPEG or BMP conversion. Using a commercial library allow you to many other things with your PDF's.

You could try either of these commercial approaches

http://www.informatik.com/tiff2pdf.html or http://www.quickpdflibrary.com/ or
http://www.expert-tools.com/ENGLISH/index.html or http://www.amyuni.com/en/developer/pdfcreator/features.html


The only way I know is to load .pdf into readers' hidden ActiveX and then make screenshoots of reader's control. It look weird (and it is weird) -- but it works.

P.S. Or use third-part components.

0

精彩评论

暂无评论...
验证码 换一张
取 消