SpreadsheetGear 2010
SaveToStream(Stream,FileFormat,String) Method
See Also  Send Feedback
SpreadsheetGear Namespace > IWorkbook Interface > SaveToStream Method : SaveToStream(Stream,FileFormat,String) Method

stream
The stream to write the workbook to.
fileFormat
The file format to save the workbook in.
password
The password to open the workbook with.
Saves this workbook to a stream in the specified FileFormat.

Syntax

Visual Basic (Declaration) 
Overloads Sub SaveToStream( _
   ByVal stream As Stream, _
   ByVal fileFormat As FileFormat, _
   ByVal password As String _
) 
C# 
void SaveToStream( 
   Stream stream,
   FileFormat fileFormat,
   string password
)

Parameters

stream
The stream to write the workbook to.
fileFormat
The file format to save the workbook in.
password
The password to open the workbook with.

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.