I tried to preview a Microsoft Word Document with the Aspose.Word.Viewer 184.108.40.206 and the “GetPages()” method´to produce a bitmap. The doc is a Word-self-generated document which contains a table of all keyboard shortcuts of Word 2003. The document seems to have one table extending over 9 pages. On calling the Getpages() method my application hangs, the computer starts to work hard and after a while I get a StackoverflowException in mscorlib.dll.
Any idea what went wrong and how I could prevent this by analyzing the doc in advance?
Thanks a lot
As described here, Aspose.Words.Viewer is at the beta stage yet and we do not improve the existing codebase. Instead, we are working on a different module that will be published somewhere in 2007. Thank you for understanding.
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.
In additional, new Rendering engine allows you to convert Word document to PDF directly (without using Aspose.Pdf).