SpreadsheetGear 2023
SaveToStream Method (IWorksheet)


SpreadsheetGear Namespace > IWorksheet Interface : SaveToStream Method
The stream to write the worksheet to.
The file format to save the worksheet in.
Saves this worksheet to a stream in the specified FileFormat.
Syntax
'Declaration
 
Sub SaveToStream( _
   ByVal stream As System.IO.Stream, _
   ByVal fileFormat As FileFormat _
) 
'Usage
 
Dim instance As IWorksheet
Dim stream As System.IO.Stream
Dim fileFormat As FileFormat
 
instance.SaveToStream(stream, fileFormat)
void SaveToStream( 
   System.IO.Stream stream,
   FileFormat fileFormat
)

Parameters

stream
The stream to write the worksheet to.
fileFormat
The file format to save the worksheet in.
Remarks

Note that the various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level.

Requirements

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

See Also

Reference

IWorksheet Interface
IWorksheet Members
SaveToStream(Stream,FileFormat) Method