Home > Products > Windows > PDF Toolbox Component for .NET 
VeryPDF PDF Toolbox Component for .NET $399.00

VeryPDF

PDF Toolbox Component for .NET

  • Enable your application to split and merge PDF.
  • Let your application be able to fill PDF form.
  • Make your application able to add PDF watermark.
Download Buy Now

This is a brief guide of VeryPDF PDF Toolbox Component for .NET for .NET developers.

1. Function interface 2. Usage guides 3. Notes

Function interface

string RunCMD(string strCmd)

Call the PDF editing operations with this function interface. Use return values to check the result or error code.

Usage guides for test example

1) Run "install.bat" as administrator to register "PDFToolBoxCom.dll".

2) Run "Microsoft Visual Studio 2010", and then choose "Windows Forms Application Visual C#" project and then save the test project. (as shown in Figure 1)

Choose Windows Forms Application Visual C#
Fig. 1. Choose "Windows Forms Application Visual C#" for test

3) In Microsoft Visual Studio, select menu "Project" -> "Add Reference". (as shown in Fig. 2)

Add Reference in Microsoft Visual Studio
Fig. 2. "Add Reference" in Microsoft Visual Studio

4) Browse and select "PDFToolBoxCom.dll" to load the DLL for the project. (as shown in Fig. 3)

Add PDFToolBoxCom.dll to project
Fig. 3. Add "PDFToolBoxCom.dll" to project

5) For a test, you may add a "button" control to a Windows form and use the following code to add the button function - split PDF.

         private void button1_Click(object sender, EventArgs e)
{
string strExePath =
System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
PDFToolBoxCom.PDFToolBoxCom p = new PDFToolBoxCom.PDFToolBoxCom();
string strReturn = p.RunCMD(strExePath + @"\html2pdf.pdf -split");
}

If you want to split a multipage PDF (D:\temp\verypdf.pdf) to single-page PDF, you may use the following codes.

         private void button1_Click(object sender, EventArgs e)
{
string strExePath =
System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
PDFToolBoxCom.PDFToolBoxCom p = new PDFToolBoxCom.PDFToolBoxCom();
string strReturn = p.RunCMD("\"D:\\temp\\verypdf.pdf\" -split -outfile
D:\\temp\\out%d.pdf");
}

Notes

1) Keep these files in one directory before using them.

libiconv2.dll
pdfcore.dll
pdfsdk.dll
pdftoolbox.dll
PDFToolBoxCom.dll

2) Run "install.bat" as an Administrator.

3) Do not hesitate to contact us (http://support.verypdf.com/) if you encounter any problems when use VeryPDF PDF Toolbox Component for .NET.

Discount 45% ($49.90) to buy PDF to Word Converter, PDF to Excel Converter, and PDF to PowerPoint Converter.

Guides and Tips

Relative Products

 
  See other products   Download   Buy Now
 
 You may like these products
VeryPDF PDFcamp Printer Pro
VeryPDF PDFcamp Printer Pro

$38.00

Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents.
VeryPDF PDF Editor
VeryPDF PDF Editor

$89.95

Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
VeryPDF PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter

$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.