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

Free Support Forum - aspose.com

Viewer System.StackOverflowException

I know Viewer is not supported, but I wanted to report a very simple document on which Aspose.Words Viewer gets a System.StackOverflowException while creating PageNavigator. Strangely enough, the problem started happening when I changed the font in the template doc.

Document doc = new Document("Aspose.Words.Viewer.Cant.Open.doc");
DocumentRenderer renderer = new DocumentRenderer(doc);
renderer.PageBounds = PageBounds.Border;
var pageNavigator = new PageNavigator(renderer);


Thanks for your request. It seems to be a known issue #4197. Unfortunately it is unresolved yet. I will notify you as soon as it is fixed.
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.

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