Converting the attached file to HTML fails using GroupDocs.Viewer 21.7.
This issue does not happen with “SpreadsheetOptions.ForOnePagePerSheet();” option, only when the file is split up into multiple pages.
using (var viewer = new Viewer(documentPath))
{
var infoOpts = ViewInfoOptions.ForHtmlView();
var info = viewer.GetViewInfo(infoOpts);
var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");
viewer.View(options);
}
The problem seems to happen on page 3, as conversion stops there.
This will produce no output:
int[] pageNumbers = { 3 };
viewer.View(options, pageNumbers);
Exception:
GroupDocs.Viewer.Exceptions.GroupDocsViewerException: 'Invalid column index.'
dummy excel.zip (33.0 KB)