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: EvoPdf.ChromiumAssembly: EvoPdf.Chromium (in EvoPdf.Chromium.dll) Version: 12.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