ConvertToPdf(Byte) | 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. |
ConvertToPdf(String) | 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. |