How can I convert DOCX to PDF?
To convert a DOCX file to PDF with the 26.5.0 version of Wordize for .NET you need the Wordize Core for .NET and Wordize Rendering for .NET modules (and the corresponding licenses). Then call the static Converter.Convert method, passing the source .docx path and the desired .pdf path.
var doc = "Document.docx";
Converter.Convert(doc, "ConvertedDocument.pdf");
The Convert(string inputFile, string outputFile) overload automatically detects the output format from the file extension and writes the PDF in a single step【https://docs.wordize.com/conversion/】. The same method is documented in the API reference【Converter.Convert | Wordize API References.
References
To convert a DOCX file to PDF with the 26.5.0 version of Wordize for .NET you need the Wordize Core for .NET and Wordize Rendering for .NET modules (both must be licensed). Then call the static Converter.Convert method, passing the source .docx path and the desired .pdf path.
var doc = "Document.docx";
Converter.Convert(doc, "ConvertedDocument.pdf");
The Convert(string, string) overload automatically detects the output format from the file extension and writes the PDF in a single step.
References