Link Search Menu Expand Document

SSpread.ExportToHTML Method

Explanation Export all cells to an HTML file.

In the destination HTML file, the spreadsheet cells are displayed as an HTML table.

Use the ExportRangeToHTMLEx method to export a specific cell range.

Use the ExportToHTMLEx method to specify style information.
Call format ExportToHTML(Writer)
Return value None
Arguments Writer Export destination Writer Object
Exception EXT-25 No valid Writer object specified
EXT-28 An error occurred in the ExportToHTML method
Example of use
    var fs = new FileSystem();
    var f = fs.SaveDialog("Save", "HTML File(*.html)=*.html", "html", "");
    ExportToHTML(f);
    f.Close();
    
Related item ExportRangeToHTML, ExportRangeToHTMLEx, ExportToHTMLEx method