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

Free Support Forum - aspose.com

10.0 to 10.3 no longer rendering tables

Hi guys
i recently upgraded a project from 10.0 to 10.3 and now my documents no longer render correctly.
the word files are produced just fine, but not the pdf files.
i will attach some sample files.
the tables are merged using doc.MailMerge.ExecuteWithRegions

pdf 's are saved using doc.Save(strDestPDF, Aspose.Words.SaveFormat.Pdf)
word files with doc.Save(Me.Response, strDestFile, Aspose.Words.ContentDisposition.Attachment, Nothing)

this has forced me to roll back the dlls to 10.0.
Please let me know if there is a hot fix or a code change available.

Thanks for your request. You should call Document.UpdatePageLayout before saving document to PDF to resolve the problem. Please see the following code:

Document doc = new Document("C:\\Temp\\template.doc");
// Execute mail merge here.
// ........................

The problem is caused because when you execute mail merge, Aspose.Words automatically updates fields in the document. Updating fields also runs updating page layout and the layout is cached. So changes made after updating page layout does not appear in the output PDF. So you should simply rebuild document layout to resolve the problem.
Best regards,