SpreadsheetGear 2023
SaveToStream Method (IRange)

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


The stream to write the range to.
The file format to save the range in.

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


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


IRange Interface
IRange Members
SaveToStream(Stream,FileFormat) Method