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

fileFormat
password
Saves this workbook to a newly created memory buffer in the specified FileFormat.

Syntax

Visual Basic (Declaration) 
Overloads Function SaveToMemory( _
   ByVal fileFormat As FileFormat, _
   ByVal password As String _
) As Byte()
C# 
byte[] SaveToMemory( 
   FileFormat fileFormat,
   string password
)

Parameters

fileFormat
password

Return Value

The memory buffer with the saved workbook.

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.