Saves the sheet to the specified stream in HTML.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub SaveHtml( _
ByVal stream As Stream _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim stream As Stream
instance.SaveHtml(stream) |
Parameters
- stream
- Stream
Example
This example saves the spreadsheet to the specified stream in HTML.
C# | Copy Code |
---|
string f;
f = "D:\\samples\\newVB.html";
System.IO.FileStream s = new System.IO.FileStream(f, IO.FileMode.CreateNew, IO.FileAccess.ReadWrite);
fpSpread1.ActiveSheet.SaveHtml(s);
s.Close(); |
Visual Basic | Copy Code |
---|
Dim f As String
f = "D:\samples\newVB.html"
Dim s As New System.IO.FileStream(f, IO.FileMode.CreateNew, IO.FileAccess.ReadWrite)
FpSpread1.ActiveSheet.SaveHtml(s)
s.Close() |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also