SaveAsHtml(String,HtmlSaveOptions) Method
Saves as Html to specified file name based on ExcelSaveType.
Syntax
'Declaration Overloads Sub SaveAsHtml( _ ByVal filename As String, _ ByVal saveOptions As HtmlSaveOptions _ )
'Usage Dim instance As IWorkbook Dim filename As String Dim saveOptions As HtmlSaveOptions instance.SaveAsHtml(filename, saveOptions)
void SaveAsHtml( string filename, HtmlSaveOptions saveOptions )
Parameters
- filename
- Name of the file.
- saveOptions
- Save options in html
Remarks
This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only.
Example
The following code snippets illustrates how to save as html to the specified file name.
workbook.SaveAsHtml("Output.html",HtmlSaveOptions.Default);
AssemblyVersion
Syncfusion.XlsIO.Base: 16.4460.0.52
See Also