Create full-featured PDF files directly from your application using this powerful pdf writer DLL.
The underlying PDF engine wPDF is well-established and widely used – wPDFControl makes this engine available for VB, VC, .NET etc. wPDFControl can be used a PDF OCX, in Visual Fox Pro (PDF VFP) as versatile PDF solution. wPDFControl creates compact PDF files.
Please also check out wRTF2PDF / TextDynamic Server – it includes a complete word processing engine which can be controlled by a powerful API. You can use it to convert RTF to PDF, to create RTF and HTML files, to create image files from each page in a document and so much more.
PDFControl V4 and RTF2PDF V4 is available now.
The new PDF Engine supports Type3 font embedding to reduce PDF file size and better support for asian fonts.
Most importantly, 64bit and unicode versions of the engine DLLs are now available.
Demo download: http://www.wpcubed.com/ftp/pdfcontroldemo.exe
Link to wPDFControl and RTF2PDF/TextDynamic Server upgrade page
- Support for standard brush styles (hatching)
- Type3 Font embedding
- TransparentBlt support
- Automatic reuse of the same image data. This way, when you export a document which often uses a logo the PDF file will be significantly smaller!
- Creation of PDF/A compliant PDF files (with added meta data and PDF tagging when you use it with WPTools)
- Support of CID fonts (known as “unicode” support)
- Binary Data embedding: You can store the document source which was used to create a PDF file within this PDF file. When you use WPTools for the PDF creation you can store the RTF source document inside of the created PDF data, the user only has to click on an icon to extract this document. This can be a great feature if you use it to embed programming examples within your programming manual!
- The sister product wRTF2PDF/TextDynamic Server is based on an entirely new “RTF-Engine” with support for many text features, such as foot notes, sections etc. It also comes with a complete programming API which allows it to create documents in code, load and save HTML code, create tables, header and footer in code. The API is close the the API of our word processing component TextDynamic.
“For our reporting tool List & Label we need a high quality PDF exporting engine. With wPDF V3 we did not only get a tool which manages the complicated drawing commands used by our printing engine at high speed, but also incorporates new features such as PDF/A support.” – Jochen Bartlau in 2009. (Note: The Standard License does not allow the use within a development tool.)
Alexander Halser from EC-Software said, “Before we released Help & Manual Version 3 we tested more than a dozen PDF tools. …. We finally went with wPDF from WPTools. It meets all our requirements, is very reliable, extremely fast and integrates nicely into the program. If you need to create PDF files natively, wPDF is the best tool you can buy for money.”
PDFControl and RTF2PDF come with a native .NET wrapper class which makes it easy to use the power of these DLLs under your favorite .NET language. We have included the C# source code for this wrapper. The wrapper not only publishes the properties and events of the PDF engine but also includes native .NET features such as a ‘Graphics’ object for your drawing code. Please check out the online manual of the .NET wrapper
An ActiveX is also included to simplify the usage of the DLL in VB.
The DLL and OCX provide you with a powerful API to create PDF files, including links, outlines, thumbnails, graphics, etc. You can use a graphic device handle (DC) which is compatible to the usual printing code. There is no need to convert the code you currently use for printing in order to create PDF files!
To use this DLL in VB you have to add the OCX library wPDF_X01 to your toolbox.
Then you can create one PDFControl object on your form.
It can be then used as follows to export a metafile from an image object:
If PDFControl1.StartEngine("c:wpPDFControlDLLwPDFControlDemo.dll", "LicenseName", "LicenseCode", 0) = True Then
PDFControl1.BeginDoc "c:test.pdf", 0
PDFControl1.DrawMetafile Image1.Picture.Handle, 0, 0, 0, 0
MsgBox "We were not able to load the PDF Engine DLL", 0, "Error!"
If you want to export a file you can also use:
PDFControl1.<b>DrawBitmapFile</b> 0, 0, 0, 0, EMFFileName
Please note that you have to use the command StartPage to export bitmaps or use drawing commands which use the device handle of the PDF engine (DC).
You have to execute StartEngine and set the path of the PDF DLL. This way it is possible to have different PDF engines on your system, so there is no need to worry about a version conflict. We are also able to customize the DLL for you.
The license information is only important for the registered version.