Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim stream As Stream instance.SaveHtml(stream) |
Parameters
- stream
- Stream
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() |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2