Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

IWorkbook.ExportToHtml Method

Name Parameters Description
ExportToHtml(Stream, Range) stream, range Exports the specified range to the specified stream in HTML format.
ExportToHtml(Stream, Worksheet) stream, sheet Exports the specified worksheet to the specified stream in HTML format.
ExportToHtml(Stream, HtmlDocumentExporterOptions) stream, options Exports the document’s data to the specified stream in HTML format using the specified options.
ExportToHtml(Stream, Int32) stream, sheetIndex Exports the specified worksheet to the specified stream in HTML format.
ExportToHtml(String, Range) fileName, range Exports the specified range to the specified file in HTML format.
ExportToHtml(String, Worksheet) fileName, sheet Exports the specified worksheet to the specified file in HTML format.
ExportToHtml(String, HtmlDocumentExporterOptions) fileName, options Exports the document’s data to the specified file in HTML format using the specified options.
ExportToHtml(String, Int32) fileName, sheetIndex Exports the specified worksheet to the specified file in HTML format.