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

Free Support Forum - aspose.com

Convert word to pdf, footer error

When you load the attached file into the system, it returns an “Error Unknown Document Property Name” error.
I attached the original file, corrupted file, and screenshot.
footer error.zip (123.2 KB)


Thanks for your inquiry. Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to PDF using MS Word, you will get the same output. However, you can get the desired output by using PdfSaveOptions.UpdateFields property as shown in following code example. Hope this helps you.

Document doc = new Document(MyDir + "original.docx");
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.UpdateFields = false; 
doc.Save(MyDir + "19.2.pdf", pdfSaveOptions);