Winnovative Excel to PDF Converter

ExcelToPdfConverterConvertExcelFileToFile Method (String, Int32, String)

Winnovative Excel to PDF Converter Documentation
Converts an Excel file to PDF and writes the rendered PDF document into a file. You can specify the list of worksheets to be exported to PDF

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public void ConvertExcelFileToFile(
	string excelFilePath,
	int[] worksheetIndexes,
	string outFile
)

Parameters

excelFilePath
Type: SystemString
The full path of the Excel file to convert to PDF
worksheetIndexes
Type: SystemInt32
The zero based indexes in workbook of the worksheets to export to PDF. The worksheets are exported in the order given by this list
outFile
Type: SystemString
The full path of the file where to write the rendered PDF document
See Also

Reference