SpreadsheetGear 2017
SaveToMemory Method (IWorksheet)






SpreadsheetGear Namespace > IWorksheet Interface : SaveToMemory Method
Saves this worksheet to a newly created memory buffer in the specified FileFormat.
Syntax
'Declaration
 
Function SaveToMemory( _
   ByVal fileFormat As FileFormat _
) As System.Byte()
'Usage
 
Dim instance As IWorksheet
Dim fileFormat As FileFormat
Dim value() As System.Byte
 
value = instance.SaveToMemory(fileFormat)
System.byte[] SaveToMemory( 
   FileFormat fileFormat
)
function SaveToMemory( 
    fileFormat: FileFormat
): System.array of Byte; 
function SaveToMemory( 
   fileFormat : FileFormat
) : System.byte[];
System.byte[]* SaveToMemory( 
   FileFormat fileFormat
) 
System.array<byte>^ SaveToMemory( 
   FileFormat fileFormat
) 

Parameters

fileFormat

Return Value

The memory buffer with the saved worksheet.
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

IWorksheet Interface
IWorksheet Members
SaveToMemory(FileFormat) Method