CellsOptionsOnePagePerSheet Property
Specifies worksheet rendering mode. Default value is true.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public bool OnePagePerSheet { get; set; }

Property Value

Type: Boolean
Remarks
When one page per sheet rendering is enabled, all worksheet content is rendered into a single page. Otherwise worksheet content is divided into pages, where each page includes count of rows defined in count rows per page option.
Examples
The following example demonstrates how to enable one page per sheet rendering mode.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CellsOptions.OnePagePerSheet = true;

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