Hi Hukridi,
1) First add PDF Creator Pilot library to you project.
Select "Project" -> "Import Type Library" command as shown below:
2) The import dialog will appear. Find and select PDF Creator Pilot in the libraries list and press "Install..." button:
3) Delphi will suggest you to install PDF Creator Pilot into the user component package and the Install dialog will appear:
4) Press OK and confirm it by pressing Yes. Delphi will recompile user components package and PDF Creator Pilot will be installed on the "ActiveX" components page.
5) Now you may use PDF Creator Pilot like any other component.
For Microsoft Visual Studio (C++):
Just add these lines to your code:
#import "PDFCreatorPilot.dll" using namespace PDFCreatorPilotLib;
Now you may use PDF Creator Pilot like any other ActiveX conponent.
For Microsoft Visual Studio (.NET):
Add a reference to PDF Creator Pilot to be able to use pdf library in .NET projects. Select "Project" in main menu and click "Add Reference":
Switch to "COM" tab and find PDF Creator Pilot in the list of available COM objects:
Visual Studio will create Interop wrappers needed for PDF Creator Pilot could be used in your code.
Each session with PDF documents contains the following steps:
1. Your programming language must initialize the PDF Creator Pilot run-time library, as follows.
Delphi :
Just drag a component TPDFDocument4 from your ActiveX panel to a form.
Or manualy create a variable and initialize it:
{ Select menu Project -> Import Type Library
Find "PDFCreatorPilot Type Library (Version 1.0)".
Import this type library.
Add PDFCreatorPilotLib_TLB in the "uses" section.
Add line: PDF: TPDFDocument4; in the "var" section.
Type Creating new PDF library in google search.
Good Luck