CellsOptionsCountRowsPerPage Property
The number of rows rendered into one page when one page per sheet rendering mode is not enabled. Default value is 50.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
public int CountRowsPerPage { get; set; }

Property Value

Type: Int32
The following example demonstrates how to set rendering of 100 rows into each page.
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
ImageOptions options = new ImageOptions();
options.CellsOptions.OnePagePerSheet = false;
options.CellsOptions.CountRowsPerPage = 100;

string guid = "document.xlsx";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also