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

fileFormat
The file format to save the workbook in.
Saves this workbook to a newly created stream in the specified FileFormat.

Syntax

Visual Basic (Declaration) 
Overloads Function SaveToStream( _
   ByVal fileFormat As FileFormat _
) As Stream
C# 
Stream SaveToStream( 
   FileFormat fileFormat
)

Parameters

fileFormat
The file format to save the workbook in.

Remarks

The newly created stream is an internal SpreadsheetGear memory based stream which is more efficient than System.IO.MemoryStream.

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.