Syncfusion.XlsIO.Base
Example 


Syncfusion.XlsIO Namespace > IWorksheet Interface > SaveAsHtml Method : SaveAsHtml(String,HtmlSaveOptions) Method
File to save.
Save Options

SaveAsHtml(String,HtmlSaveOptions) Method

Saves worksheet with specified filename and Syncfusion.XlsIO.Implementation.HtmlSaveOptions.
Syntax
'Declaration
 
Overloads Sub SaveAsHtml( _
   ByVal filename As String, _
   ByVal saveOptions As HtmlSaveOptions _
) 
'Usage
 
Dim instance As IWorksheet
Dim filename As String
Dim saveOptions As HtmlSaveOptions
 
instance.SaveAsHtml(filename, saveOptions)
void SaveAsHtml( 
   string filename,
   HtmlSaveOptions saveOptions
)

Parameters

filename
File to save.
saveOptions
Save Options
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 and save option.
sheet.SaveAsHtml("Output.html",HtmlSaveOptions.Default);
AssemblyVersion

Syncfusion.XlsIO.Base: 16.3460.0.29

See Also