WordToPdfConverterConvertToPdf(String) Method
Converts a Word file from the specified file path to a PDF byte array.
The input file must be a valid DOCX format document. The resulting PDF content is returned as a byte array,
which can be saved to disk, sent over a network, or written directly to a response stream.
Namespace: HiQPdf.ChromiumAssembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 17.5.0
public byte[] ConvertToPdf(
string docxFilePath
)
- docxFilePath String
- The full path to the DOCX file that will be converted to PDF
ByteA byte array containing the generated PDF document