ExcelToPdfConverterConvertExcelData(Byte, String, Int32) Method

Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Excel File and the list of worksheets to be exported to PDF

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public byte[] ConvertExcelData(
	byte[] excelData,
	string password,
	int[] worksheetIndexes
)

Parameters

excelData  Byte
The data buffer containing the Excel document to convert to PDF
password  String
The password to open the Excel document
worksheetIndexes  Int32
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

Byte
An array of bytes containing the binary representation of the PDF document.

See Also