Aspose.Words UpdatePageLayout() does not return

Using Aspose.Words 17.2.0.0

When the following code executes UpdatePageLayout( ), it never returns from that method call. Is this something that’s fixed in a future version?

The Word doc used in the sample is zipped and attached.
AhrnDoc.zip (152.8 KB)

using Aspose.Words;

namespace TestAspose
{
public class Program
{
static void Main(string[] args)
{
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense(“Aspose.Words.lic”);

        var loadOptions = new Aspose.Words.LoadOptions();
        loadOptions.LoadFormat = LoadFormat.Auto;

        Document myDoc = null;
        myDoc = new Document("c:\\AhrnDoc.docx", loadOptions);

        myDoc.UpdatePageLayout();
    }
}

}

@kteynor

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19634. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Spectacular! Thank you for the update!

@tahir.manzoor, what is the outcome of this ticket? I see the status is closed.

@kteynor

We have good news for you i.e. WORDSNET-19634 has now been resolved. The fix of this issue will be included in the 20.1 (next version) of Aspose.Words. We will inform you via this thread as soon as the next version containing the fix of your issue will be released at the start of next month.

1 Like

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