BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-Excel Programming API  |  Download Free Trial  |  Contact Us to Purchase

PDF2Excel Object Description

This object is used to convert PDF file into CSV/XML file.

COM Object Identifiers

ProgID EasyConverter.PDF2Excel.5
CLSID B7065CBD-0F57-4E69-8C6B-6FE692752652
TypeLib UUID 68472FF1-A784-4E53-AF4A-C10E4728DDDF

Object Namespaces

COM, C++ EasyConverterLib
.NET COM BCL.easyConverter5.Interop.Word
Native .NET BCL.easyConverter.Excel
Java COM com.bcl.easyConverter.EasyConverterLib.*
Native Java com.bcl.easyconverter.excel.*

Example Usage (VB)

Set oPdf2Excel = Server.CreateObject("EasyConverter.PDF2Excel.5")
oPdf2Excel.ConvertToExcel("c:\temp\input.pdf", "c:\temp\output.csv")

Visual C++

In modern versions of Visual C++, easyConverter Excel should be imported the following way:

#import "progid:EasyConverter.PDF2Excel.5"

If you need to support Visual Studio 6, we recommend this solution:

#if _MSC_VER <= 1200 // VC6 or older
#import "c:\Program Files\BCL Technologies\easyConverter SDK 5\Rtf\beconv.dll"
#else
#import "progid:EasyConverter.PDF2Excel.5"
#endif

The actual C++ code to perform a conversion is as follows:

EasyConverterLib::IPDF2ExcelPtr pConvObj;
pConvObj.CreateInstance(_T("EasyConverter.PDF2Excel.5"));
pConvObj->ConvertToExcel(_bstr_t(L"c:\\temp\\input.pdf"), _bstr_t(L"c:\\temp\\output.csv"));

Native .NET API

There is now a 100% native .NET API for easyConverter, which is strongly recommended over the traditional COM objects.

In this documentation, a light yellow background color is used for all native .NET declarations and sample code, like this:

using(PDF2Excel pdf2excel = new PDF2Excel())
{
   pdf2excel.ConvertToExcel(@"c:\temp\input.pdf", @"c:\temp\output.csv");
}

Don't forget to use the namespace: using BCL.easyConverter.Excel;

Native Java API

There is now a 100% native Java API for easyConverter, which is strongly recommended over the traditional JACOB Java COM bridge.

In this documentation, a light red background color is used for all native Java declarations and sample code, like this:

PDF2Excel pdf2excel = new PDF2Excel();
try
{
   pdf2excel.ConvertToExcel("c:\\temp\\input.pdf", "c:\\temp\\output.csv");
}
catch(PDF2ExcelException e)
{
   System.out.println(e);
}
finally
{
   pdf2excel.dispose();
}

Don't forget to import the namespace: import com.bcl.easyconverter.excel.*;