GemBox.Spreadsheet

ExcelFile.SaveHtml Method (XmlTextWriter, HtmlExporterOptions, Boolean)

Saves the data from used range of the active worksheet to a XmlTextWriter in HTML format.

public void SaveHtml(
   XmlTextWriter writer,
   HtmlExporterOptions options,
   bool entirePage
);

Parameters

writer
Xml text writer.
options
Options that describe exporting process. If the value is null, new HtmlExporterOptions is created with HtmlExporterOptions.ShowColumnLetters and HtmlExporterOptions.ShowRowNumbers set to true.
entirePage
If true, entire page will be exported. If false, only table will be exported.

Remarks

For HTML export DefaultHtmlExporter.DefaultPageToHtml or CellRange.ExportToHtml metods can be used.

See Also

ExcelFile Class | GemBox.Spreadsheet Namespace | ExcelFile.SaveHtml Overload List