|
Borland Delphi 2005 |
Top Previous Next |
|
Steps for Borland Delphi 2005
2. The Installed .NET Components dialog box is displayed. From the ActiveX Components tab tick the PDFtoolkit ActiveX control(s) and click the OK button. Depending on the package purchased you will see one or more of the controls displayed. For more information see Editions Of PDFtoolkit ActiveX.
3. The following diagram shows gtPDFDocumentX component after it has been dragged and dropped from the Tool Palette on a new Windows Forms Application.
[C#] private void button1_Click(object sender, System.EventArgs e) { axgtPDFDocumentX1.LoadFromFile("Input.pdf"); axgtPDFDocumentX1.SaveToFile("Output.pdf"); }
[Delphi] procedure TWinForm.Button1_Click(sender: System.Object; e: System.EventArgs); begin AxgtPDFDocumentX1.LoadFromFile('Document1.pdf'); AxgtPDFDocumentX1.SaveToFile('output'); end;
|