WPViewPDF


WPViewPDF is a new component which allows you to view PDF data. The data can be loaded from memory, file or stream. This component has been developed as a window class which makes it compatible to most Windows based development systems.

WPViewPDF is usually used to quickly display and print PDF files which were created with our wPDF, wPDFControl or wRTF2PDF or with a competitor's library. It is directly embedded in your application.

WPViewPDF now supports ANSI text extraction and text find + highlight functionality!

WPViewPDF can open PDF files created by scanner software since it also does CCITT decompression.

You can download a demo which includes the component as .NET and Delphi component and a small example application.

Also included is now an OCX component which works as interface for the WPViewPDF DLL. So you can use WPViewPDF in VB or similar. You only have to specify the exact path to the DLL when using the method ViewerStart. This will initialize the component. Since the DLL can be renamed and placed in the directory of your application, "DLL Hell" can be avoided.

Why do I need a PDF viewer component?

If you need to embed a PDF viewer into your application, then you need WPViewPDF since this will, most likely, no longer be allowed with the Acrobat(tm) Viewer Version 6 or later.
If you need to load PDF files from memory, then you need WPviewPDF which will allow you to load PDF files from any stream. The stream interface makes it possible for you to use your own encryption/decryption scheme for the loading process.
If you need to print the PDF files created by your own application, then you need WPviewPDF which makes it possible to print several PDF files using just one printer job without starting any external application
If you need to use information from PDF files as background images in your application, then you need WPViewPDF since it has the ability to extract PDF pages as metafiles.
Last but not least: Imagine a powerful and versatile print and preview system which is based completely on PDF files. The PDF files can be viewed, printed (with WPViewPDF or another program), stored or sent via e-mail!
WPViewPDF is very fast - it opens a huge file with almost no delay.

One Component for all

Finally it is now possible to not only create PDF files from your application, but also to view them almost instantly. WPViewPDF is the ideal component for this purpose. Although WPViewPDF cannot ensure that you will be able to view all kinds of PDF files, it is powerful enough to display and print PDF files generated with our own PDF tools or similar products. At presently the wrapper for both Delphi/C++Builder and .NET are included.

Since WPViewPDF has been implemented as a window class, there's no need to worry about the longivity of your investment - you can still use this component even if you switch development systems.

If you use the included OCX you can still avoid version conflicts since the "intelligence" is not inside the OCX but inside the DLL. The latter can be loaded from the applications directory.

Drop it in and it is ready to use!


The control already includes a few buttons to change zooming and view modes and even a menu to start printing. Of course, all elements can be switched off. (Click to enlarged screenshot)

WPViewPDF is not able to display PDF files correctly which make use of Type1 fonts (but the new enhanced font selection should at least produce readable text). It works with Windows 2000 or later.