SpreadsheetGear 2012
SaveToStream Method (IRange)






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.
Syntax
'Declaration
 
Sub SaveToStream( _
   ByVal stream As System.IO.Stream, _
   ByVal fileFormat As FileFormat _
) 
'Usage
 
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
)
procedure SaveToStream( 
    stream: System.IO.Stream;
    fileFormat: FileFormat
); 
function SaveToStream( 
   stream : System.IO.Stream,
   fileFormat : FileFormat
);
void SaveToStream( 
   System.IO.Stream* stream,
   FileFormat fileFormat
) 
void SaveToStream( 
   System.IO.Stream^ stream,
   FileFormat fileFormat
) 

Parameters

stream
The stream to write the range to.
fileFormat
The file format to save the range 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

IRange Interface
IRange Members
SaveToStream(Stream,FileFormat) Method

Send Feedback