CellsOptionsIgnoreEmptyColumns Property
Indicates whether empty columns should be ignored. The default value is false.

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

Property Value

Type: Boolean
Examples
The following example demonstrates how to ignore empty columns when rendering Spreadsheet document.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CellsOptions.IgnoreEmptyColumns = true;

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