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

Free Support Forum - aspose.com

Stackoverflowexception in mscorlib.dll while using Aspose.Word.Viewer 4.2.2.0

Hello together!
I tried to preview a Microsoft Word Document with the Aspose.Word.Viewer 4.2.2.0 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
Jörg

Hi,
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.

Saving to image

In additional, new Rendering engine allows you to convert Word document to PDF directly (without using Aspose.Pdf).

Saving to Pdf

The latest version of Aspose.Words is available for download from downloads section or from NuGet