Winnovative Logo

ExcelToPdfConverter.ConvertExcelDataToPdfDocumentObject Method (Byte[],Int32[])

Winnovative Client for .NET Core
Converts an Excel document read from a data buffer 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 list of worksheets to be exported to PDF

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

public Document ConvertExcelDataToPdfDocumentObject(
	byte[] excelData,
	int[] worksheetIndexes
)

Parameters

excelData
Type:System.Byte[]
The data buffer containing the Excel document to convert to PDF
worksheetIndexes
Type:System.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

Type: Document
The created Document object
See Also

Reference