wPDFControl について

Visual C++やVisual BasicのプロジェクトからPDFを作成

wPDFControlは、プログラマーがアプリケーションにPDFのサポートの追加を簡単にできるように開発されました。DelphiとC++ Builder向けマーケットでは2000年から人気の高い、PDFエンジン"wPDF"をベースにしています。最近まで wPDF はDelphiと C++ Builder以外のプログラム言語のために利用可能できませんでしたが、wPDFControl DLLをサポートする多くのプログラム言語で利用できるようになりました。

Overview
wPDFControl comes with a DLL and an ActiveX (OCX) which serves to load the PDF engine DLL and provides an interface to it. The ActiveX (OCX) can be used in languages such as Visual Basic, where it is difficult to use the callback function required for the PDF engine.

Features:

  • While the PDF file is open you can create a new page with StartPage. The page has to be closed with EndPage. While a page is active you can use the HDC (Device handle) of the PDF engine tocreate the output
  • You can retrieve this handle with the function DC and use it with regular GDI drawing routines
  • There are also some functions which make it easier to change the font, the background and pen colors. If you use these functions the DC will be changed the same as if you would have used the windows API - but these functions are much easier to use and you don't have to worry about HFONT, HBRUSH and HPEN GDI resources

If you need to convert RTF files to PDF please refer to "wRTF2PDF" DLL. This also includes the wPDFControl DLL.