Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need PDF viewer control - tried a lot [closed]

I'm looking for a component to view and print PDF files from Delphi/C++Builder. Delphi or ActiveX, not .NET. The license must be for royalty free distribution and the viewer must not require Adobe Reader to be installed.

So far I have tried:

Gnostice PDFtoolkit: Display problems with JPX images

Radaee PDF Viewer: Fast rendering, but crashes. NO reply from support.

VeryPDF: Slow rendering, but reliable. No printing

WPViewPDF: Messed up layout of most PDFs

GdViewer: No continuous multi-page display

QuickPDF library: No continuous multi-page display

eXPert PDF Viewer: Use not allowed for generic PDF viewer. NO reply from support.

EasyPDF SDK: No continuous multi-page display

DynamicPDF: No royalty-free license

Foxit PDF SDK: No royalty-free license

3-Heights PDF Viewer: No royalty-free license

Any other options?

Regards, Brian

like image 950
JubbaJubba Avatar asked Jul 08 '10 08:07

JubbaJubba


People also ask

How do I reopen a closed PDF?

If you go file>open recent. A list containing your last 9 files will display and you can choose from there the one you want to open, or you can also click "history" and search files you opened today, yesterday 14 days ago, etc. Hope this helps.

Why can I suddenly not open any PDF files?

Here are some of the most common culprits to consider: Your laptop doesn't have a PDF reader installed. Your PDF reader or preferred program is out of date and needs an update. Your PDF application is potentially damaged or needs to be rebooted.

Why does my PDF closes after a few seconds?

We're sorry for the trouble you had with Adobe Reader, please reboot the machine once and navigate to Adobe Reader's preferences from Edit>Preferences>Security(Enhanced)>and try disabling 'Enable Protected Mode at startup'>Click OK and restart the application and check.

How do I change my PDF viewer settings?

Right-click on the thumbnail of any PDF file. On the menu, click Get Info. Navigate to the Open With: section and select Adobe Acrobat DC or Reader from the drop-down list. Tap Change All to apply this change to all future PDF documents.


1 Answers

I successfully implemented SumatraPDF as an embedded viewer in a Delphi application.

It's to be launched through a shell command but adding the -plugin parameter makes it child of your form or any container. You can then send keystrokes or use DDE to pilot it.

see the wiki and look for "-plugin".

Sumatra is very fast and redistributable under the GPL conditions, it uses MuPDF as rendering engine, which is a very viable solution.

if you look at the source code of the following Total Commander plugin, you will find how to use it. Just ignore the part of the source that integrates the functionality as a TC plugin

like image 190
FileVoyager Avatar answered Sep 18 '22 13:09

FileVoyager