Hi,
the following code throws InvalidOperationException when opening the attached DOTX files.
var doc = new Document(inputStream);
var info = doc.GetPageInfo(0);
Here are the exception details:
- Exception thrown: ‘System.InvalidOperationException’ in Aspose.Words.dll
- Additional information: "This operation requires the node to be inside the main document."
tested with Aspose.Words.dll for .NET version 17.5
After getting the page information I expect to be able to render these documents.
Best Regards,
Vassil