Hi,
Sometimes when there is an image inside a table in a docx document, a call to document.Save
in order to convert to PDF fails with a NullReferenceException. It seems to be related to the page layout since there is a call to Aspose.Words.Document.UpdatePageLayout()
in the call stack.
I’ve attached a zip file containing a docx file with which the issue occurs and a notebook (.ipynb file) containing instructions and C# code to reproduce the issue.
AsposeWordsNullRef.zip (132,2 Ko)