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

Free Support Forum - aspose.com

UpdatePageLayout throw a exception with Aspose.Words 18.4

var doc = new Aspose.Words.Document(“a.docx”);
doc.UpdatePageLayout(); //exception

test doc file is uploaded

test.zip (23.3 KB)

@wybb,

While using the latest version of Aspose.Words i.e. 18.5, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-16804. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

The issues you have found earlier (filed as WORDSNET-16804) have been fixed in this Aspose.Words for .NET 18.7 update and this Aspose.Words for Java 18.7 update.