Use WPViewPDF with ImageEn

<< Click to Display Table of Contents >>

Navigation:  Tasks >

Use WPViewPDF with ImageEn

ImageEn is an extensive component suite for image editing, display and analysis written in pure VCL code for Delphi and C++ Builder, and is also available for .NET.  Thousands of software developers use ImageEn to add powerful multimedia functionality to their applications. 

Please visit www.imageen.com for more information.

 

The WPViewPDF DLL include a function called pdfMakeImageExt which can be easily used with ImageEn to load bitmap representations into this powerful imaging library.

 

The unit wpcubed_pdf_plugin has been provided to make this as easy as possible. Usually all you have to do, is to include this unit to the uses clause in your application. Then your application will use the WPViewPDF DLL to show PDF data inside the ImageEn viewer.

 

It is possible to deactivate the auto-registration in wpcubed_pdf_plugin.pas using a compiler symbol. In that case please add this code to your application:

 

   if TIEWPCubedPDF.Initialize then

        TIEWPCubedPDF.RegisterPlugin

    else ShowMessage('PDF decoder DLL could not be found');

 

The name of the WPViewPDF DLL has to be specified in the file PDFLicense.INC. There also the license codes for the registered version of WPViewPDF must be included. Optionally it is possible to specify a fully qualified DLL name in TIEWPCubedPDF.Initialize.

 

Please note that this DLLs are required for PDF rendering - they must be included in the applications binary directory.

wPDFView04.dll

wpdecodejp.dll

wp_type1ttf.dll