LoadFromBuffer Method
Applies To
fpSpread control
Description
Loads data from a buffer.
Syntax
C++
BOOL CSpreadSheet::LoadFromBuffer (VARIANT* Buff);
Visual Basic
fpSpread.LoadFromBuffer(Buff) As Boolean
Parameters
The following parameter is available:
Parameter | Description |
Buff | Pointer to the buffer |
Remarks
Use this method to load data from a buffer. Use the LoadTabFile or LoadTextFile method to load a delimited data file.
Caution: Loading a Spread file into the control deletes the data currently in the control. The loaded file overwrites existing data. Also, if your sheet had more columns and rows than the loaded sheet, those columns and rows are removed. For example, if your sheet had 100 columns and rows of data, and the loaded sheet has 50 columns and rows of data, once the new sheet is loaded, the control only has 50 columns and rows. |
Return Type
Void.
See Also
Sheet property
LoadTabFile, LoadTextFile, SaveTabFile, SaveToFile methods
DLL Correspondence
SSLoadFromFile function