Hi,
When converting a DOCX file to PDF using the latest Aspose.Words, the conversion failed with IndexOutOfRangeException.
Code:
var doc = new Document(@".\test.docx");
// doc.UpdatePageLayout(); // same error can also be seen with this line
doc.Save(@".\out.pdf");
It used to work fine in older Aspose.Words versions (e.g. 21.9.0) so I’m suspecting it is a regression from some recent Aspose upgrades.
I’ve attached the test docx file and the output from older Aspose.Words (21.9.0) for your reference.
test_updated.zip (83.0 KB)
Could you please take a look?
Thanks,