We would like to convert myTest.docx to pdf format, so we used the following code:
Aspose.Words.Document document = new Aspose.Words.Document(“myTest.docx”);
document.Save(“ConvertedOutput.pdf”, Aspose.Words.SaveFormat.Pdf);
The converted file is corrupted as it is different from the original file (The document is in Khmer and uses a Khmer font).
I have attached the original file and converted file.
I also tried open the original file with Microsoft Office and save it as pdf format, the saved pdf file looks fine.
Thanks for your help.