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

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

Property Value

Type: Boolean
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.
The following example demonstrates how to enable one page per sheet rendering mode.
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