PDF2EXCEL

The PDF2EXCEL function converts a PDF document to a Microsoft® Excel® document. This function is only available with the Excel Converter product and requires a call to SetLicenseKey before it can be used.

Syntax

DLL:

long PDF2EXCEL( LPCSTR InputFile, LPCSTR Password, LPCSTR OutputFile, long Options, long OptimizeLevel )

Parameters

InputFile

[in] Full path of PDF file to convert to Excel.

Password

[in] Password, if any, needed to open the PDF file.

OutputFile

[in] Full path of resulting Excel file.

Options

[in] Excel generation options.

 

DLL Constants

Value

Description

EXCELOPTION_SINGLE_SHEET

0

All pages in one sheet.

EXCELOPTION_MULTIPLE_SHEETS

1

One sheet per page.

 

Permission

Value

No optimization

0

Line optimization (Recommended)

1

Paragraph optimization

2

Table optimization

3

 

Return Value

The return value is True if the document was converted, False otherwise.

Remarks

This function is only available if the activation code is for the Excel Converter product, or an Excel Converter product combined with other Document Converter products.