Link Search Menu Expand Document

SSpread.LoadFromBuffer Method

Explanation Imports the contents of a spreadsheet stored in ByteArray in binary format into the spreadsheet currently being editing.

Binary data is in SSpread's own format. It can be saved using the SaveToBuffer method.
Added since Ver.5.0.3
Call format LoadFromBuffer(data)
Return value None
Arguments ByteArray data ByteArray object containing binary format data
Exception EXT-1 The argument of LoadFromBuffer is invalid
EXT-28 An error occurred in the LoadFromBuffer method
Example of use
    var data = Spread1.SaveToBuffer();
    Spread2.LoadFromBuffer(data);
    
Related item SaveToBuffer method