SpreadsheetGear 2012
SaveToMemory Method (IRange)






Saves this range 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 IRange
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 range.
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

IRange Interface
IRange Members
SaveToMemory(FileFormat) Method

Send Feedback