WordToPdfConverterConvertToPdf(Byte) Method

Converts a Word document to a PDF byte array. The input must be a valid DOCX 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.Chromium
Assembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 17.5.0
C#
public byte[] ConvertToPdf(
	byte[] wordBytes
)

Parameters

wordBytes  Byte
The content of the DOCX file as a byte array

Return Value

Byte
A byte array containing the generated PDF document

See Also