ExcelToPdfConverterConvertToPdf(Byte) Method

Converts an Excel document to a PDF byte array. The input must be a valid .xlsx file provided as a byte array. The resulting PDF content is returned as a byte array, which can be saved, streamed or transmitted as needed

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.ExcelToPdf (in HiQPdf.Next.ExcelToPdf.dll) Version: 18.0.0
C#
public byte[] ConvertToPdf(
	byte[] excelBytes
)

Parameters

excelBytes  Byte
The content of the .xlsx file as a byte array

Return Value

Byte
A byte array containing the generated PDF document

See Also