Convert Excel to HTML
The code example above demonstrates how to convert Excel to HTML using C#. The HtmlExportOptions
class is used to customize how the HTML output is generated. The available options are:
OutputRowNumbers
property: Indicates whether to show row numbers in the resulting HTML file.OutputColumnHeaders
property: Indicates whether to show column headers in the resulting HTML file.OutputHiddenRows
property: Indicates whether to display hidden rows in the resulting HTML file.OutputHiddenColumns
property: Indicates whether to display hidden columns in the resulting HTML file.OutputLeadingSpacesAsNonBreaking
property: Indicates whether to show leading spaces (extra spaces before the first character in a cell) as non-breaking spaces in the resulting HTML file.