CellsOptionsRenderPrintAreaOnly Property
Enables rendering of the specific section(s) on a worksheet(s) which is defined as print area.

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

Property Value

Type: Boolean
Examples
The following example demonstrates how to render print area.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CellsOptions.RenderPrintAreaOnly = true;

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