SpreadsheetGear Namespace > IWorkbook Interface : SaveToStream Method |
Saves this workbook to a stream in the specified FileFormat.
[Visual Basic]
Overridable Sub SaveToStream( _
ByVal stream As Stream , _
ByVal fileFormat As FileFormat _
)
[C#]
virtual void SaveToStream(
Stream stream,
FileFormat fileFormat
);
[C++]
virtual void SaveToStream(
Stream * stream,
FileFormat fileFormat
)
[C++/CLI]
virtual void SaveToStream(
Stream ^ stream,
FileFormat fileFormat
)
Note that the various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IWorkbook Interface | IWorkbook Members
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.