Spread Windows Forms 12.0 Product Documentation
SaveHtml(Stream) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SaveHtml Method : SaveHtml(Stream) Method
Stream
Saves the sheet to the specified stream in HTML.
Syntax
'Declaration
 
Public Overloads Sub SaveHtml( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As SheetView
Dim stream As Stream
 
instance.SaveHtml(stream)
public void SaveHtml( 
   Stream stream
)

Parameters

stream
Stream
Example
This example saves the spreadsheet to the specified stream in HTML.
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();
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()
See Also

Reference

SheetView Class
SheetView Members
Overload List