XlsWorksheet
SaveToHtml Method (String, HTMLOptions)
|
Saves as HTML.
Examples
The following code snippets illustrates how to save as html to the specified file name and save option:
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SaveToHtml(
string fileName,
HTMLOptions saveOption
)
Public Sub SaveToHtml (
fileName As String,
saveOption As HTMLOptions
)
public:
virtual void SaveToHtml(
String^ fileName,
HTMLOptions^ saveOption
) sealed
abstract SaveToHtml :
fileName : string *
saveOption : HTMLOptions -> unit
override SaveToHtml :
fileName : string *
saveOption : HTMLOptions -> unit
Parameters
-
fileName
-
Type:
System
String
The filename
-
saveOption
-
Type:
Spire.Xls.Core.Spreadsheet
HTMLOptions
The option
Implements
IWorksheet
SaveToHtml(String, HTMLOptions)
See Also