Convert Excel to HTML

The code example above demonstrates how to convert Excel to HTML in C#. Use HtmlExportOptions class to customize how the html output. The available options are:

  • OutputRowNumbers property indicates whether to show row numbers in result file
  • OutputColumnHeaders property indicates whether to show column header in result file
  • OutputHiddenRows property indicates whether to show hidden rows in result file
  • OutputHiddenColumns property indicates whether to show hidden columns in result file
  • OutputLeadingSpacesAsNonBreaking property indicates whether to show leading spaces(extra spaces before the first character in cell) as non-breaking in result file