Skip to main content
Row

IWorkbook.ExportToHtml Method

Name Parameters Description
ExportToHtml(Stream, CellRange) 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, CellRange) 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.