Thanks for using GroupDocs.Viewer for .NET API. In order to investigate the issue at our end, we would require you to please share with us the problematic document. We shall be looking forward to your response.
Thanks for providing the problematic document. We have successfully reproduced your reported issue at our end. The issue has been logged into our internal Issue Tracking System with ID: VIEWERNET-1371. We shall further investigate this issue and in case of any updates, we’ll notify you here.
The issue happens because the first sheet of the provided Excel document contains a huge number of empty rows. When the API tries to render the whole sheet (including the empty rows), it becomes impossible to create such a big image and the exception is thrown. To tackle this situation, please use options.CellsOptions.IgnoreEmptyRows = true as shown below.
So, I’m using version 17.6 and I do not see options.CellsOptions.IgnoreEmptyRows. The online API says it is up to 17.9. How do I get version 17.9? Tried downloading the trial version, but it is at 17.6.
Thanks for your response. The feature of ignoring empty rows in Excel sheets is available from version 17.8.0. You can download the latest version of GroupDocs.Viewer for .NET from here and add its reference manually. Furthermore, you can also add it in your application from NuGet using Package Manager Console with the following command.