SpreadsheetGear 2023
SaveToMemory Method (IRange)

SpreadsheetGear Namespace > IRange Interface : SaveToMemory Method
Saves this range to a newly created memory buffer in the specified FileFormat.
Function SaveToMemory( _
   ByVal fileFormat As FileFormat _
) As System.Byte()
Dim instance As IRange
Dim fileFormat As FileFormat
Dim value() As System.Byte
value = instance.SaveToMemory(fileFormat)
System.byte[] SaveToMemory( 
   FileFormat fileFormat



Return Value

The memory buffer with the saved range.
Note that the various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level.

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


IRange Interface
IRange Members
SaveToMemory(FileFormat) Method