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.6
public bool IgnoreEmptyColumns { get; set; }

Property Value

Type: Boolean
The following example demonstrates how to ignore empty columns when rendering Spreadsheet document.
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