|
Installation |
Top Previous Next |
|
If you install WPTools and wPDF please do not compile the wPDF package. Simply enabled the $define WPPDFEX in the WPTools file WPINC.INC and compile the WPTools package.
Otherwise open the wPDF package file (*.dpk) from the folder Dx, add the directory Dx to the library path and compile and install the package file.
The Sizes of the (uncompressed) DLLs are about 1100 KB for the demo version and about 480 KB for the registered version (32 bit).
To use the registered version you have to tell the engine your license name + code using the procedure WPDF_Start()
V3 and 4 Upgrade Notes:
wPDF Version 3 and 4 add 2 properties to the VCL interface. These properties are enabled by the $define wPDF4 which must be enabled in the file wpdf_inc.inc. Of course the new PDF engine (DLL or DCUs) must be used as well. Since version 3 is activated by just a single define it is possible and the replacement of the engine it is possible to use both, V2 and V3 at the same time. Simply add the compiler symbol wPDF4 to the projects which should use the new engine. Please note that V2 also uses a new license code. That code contains the code for the previous version as well which internally strips the V3 part. (wPDF V2.75 or later)
Please note that wPDF Standard always requires the PDF-Engine DLL. That can be copied to the system directory - but it is a good idea to always copy it to the application directory. So you won't forget to distribute it with your application. The distribution is not allowed if the application was build with the demo version of wPDF!
If You use Delphi 2009 or later you need to use the DLL wPDF400W.dll. You can then set the filename as unicode string. wPDF400W64.dll is for 64bit applications.
wPDF PLUS comes with Delphi DCU files to compile the PDF engine right into the application. Please open the file wpdf_inc.inc and disable the $define INTWPSWITCH. Please also add the path to the DCU files which were installed by the setup.
Please also note the extra files which can be added to the package to add additional functionality:
wppdfQR.pas - this is a PDF export filter for QuickReport
WPDF_FRep.pas - the export filter for FastReport
wppdfRBDev.pas - export device for Report Builder (tm)
wppdfRAVE.pas - rendering component for RAVE
|