Hi, am trying to open a word document. With some documents i get an argument exception like this when creating a new PageNavigator instance.
code is as follows
...
DocumentRenderer renderer = new DocumentRenderer(this.filename);
this.wordNavigator = new PageNavigator(renderer);
...
Exception is System.ArgumentException: Invalid parameter
Callstack and sample word document are attached to this posting
version is aspose word 4.4.2.0
Please help
Best Regards
Andreas
Hi
Thanks for your reporting this problem to us. I managed to reproduce the problem. I have logged this problem to our defect database as issue # 4129. Please expect a reply before the next hotfix (within 2-3 weeks). We might just fix it by then or provide more information
Also note that Aspose.Words.Viewer namespace is currently in beta.
Best regards.
We are happy to tell you that the new Rendering Engine has replaced the “old Viewer Beta”. The Rendering Engine can print, save as images or draw onto .NET Graphics object any document page.
Please see Aspose.Words documentation to learn more about new features.