EVO Excel to PDF Converter

ExcelToPdfConverterConvertExcelFileToPdfDocumentObject Method (String, String, Int32)

EVO Excel to PDF Converter Documentation
Converts an Excel file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the password to open the Excel document and the list of worksheets to be exported to PDF

Namespace:  EvoExcelToPdf
Assembly:  evoexceltopdf (in evoexceltopdf.dll) Version: 10.0.0.0
Syntax

public Document ConvertExcelFileToPdfDocumentObject(
	string excelFilePath,
	string password,
	int[] worksheetIndexes
)

Parameters

excelFilePath
Type: SystemString
The full path of the Excel file to convert to PDF
password
Type: SystemString
The password to open the Excel document
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

Return Value

Type: Document
The created Document object
See Also

Reference