Click or drag to resize

XlsWorksheet SaveToHtml Method (String)

Save to HTML file.
Examples
The following code snippets illustrates how to save as html to the specified file name:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Save to HTML file</para><para>worksheet.SaveToHtml("Output.html");</para>

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SaveToHtml(
	string filename
)

Parameters

filename
Type: System String
File name

Implements

IWorksheet SaveToHtml(String)
See Also