Syncfusion.XlsIO.Base
Example 


Syncfusion.XlsIO Namespace > IWorkbook Interface > SaveAsHtml Method : SaveAsHtml(Stream,HtmlSaveOptions) Method
stream that will receive html data.
Save options in html

SaveAsHtml(Stream,HtmlSaveOptions) Method

Saves as Html to the specified stream based on Syncfusion.XlsIO.Implementation.HtmlSaveOptions.
Syntax
'Declaration
 
Overloads Sub SaveAsHtml( _
   ByVal stream As Stream, _
   ByVal saveOptions As HtmlSaveOptions _
) 
'Usage
 
Dim instance As IWorkbook
Dim stream As Stream
Dim saveOptions As HtmlSaveOptions
 
instance.SaveAsHtml(stream, saveOptions)
void SaveAsHtml( 
   Stream stream,
   HtmlSaveOptions saveOptions
)

Parameters

stream
stream that will receive html data.
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 stream.
workbook.SaveAsHtml(stream,HtmlSaveOptions.Default);
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also