Winnovative Logo

ExcelToPdfConverterConvertExcelDataToFile Method (Byte, Int32, String)

Winnovative Client for .NET Core
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file. You can specify the list of worksheets to be exported to PDF

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public void ConvertExcelDataToFile(
	byte[] excelData,
	int[] worksheetIndexes,
	string outFile
)

Parameters

excelData
Type: SystemByte
The data buffer containing the Excel document 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