Convert Excel to HTML with headings
Contents
[
Hide
]
Convert Excel to HTML with headings
Aspose.Cells provides the option to export row and column headings while converting Excel to HTML. This can be achieved by using HtmlSaveOptions.ExportHeadings property provided by the API. The default value of HtmlSaveOptions.ExportHeadings is False. Pass True as the parameter to render headings in the output HTML file. The following image shows the output file generated by the following code.
The following sample code demonstrates using the HtmlSaveOptions.ExportHeadings property to render headings in the output HTML file.