We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert DOC Word Document to PDF using C++ Code of Aspose.Words API

Hello admin Try this code

// Load the document from disk.
System::SharedPtr doc = System::MakeObject(inputDataDir + u"Rendering.doc");

System::String outputPath = outputDataDir + u"Doc2Pdf.SaveDoc2Pdf.pdf";
// Save the document in PDF format.
doc->Save(outputPath);

@alfred0809,

Please ZIP and upload your input Word document, Aspose.Words generated PDF file showing the undesired behavior and a screenshot highlighting the problematic area here for testing. We will then investigate the issue on our end and provide you more information.