SSLoadFromBuffer Function
Applies To
fpSpread DLL control
Description
Loads a previously saved sheet from a buffer.
Syntax
C
BOOL SSLoadFromBuffer(HWND hWnd, HGLOBAL hBuffer, long lBufferLen);
C++
BOOL TSpread::LoadFromBuffer(GLOBALHANDLE hBuffer, long lBufferLen);
Parameters
The following parameters are available:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
hBuffer | Buffer containing previously saved sheet |
lBufferLen | Length of buffer |
Remarks
The values passed by the hBuffer and lBufferLen parameters should be the values returned from the SSSaveToBuffer, SSExportToXMLBuffer, or SSExportRangeToXMLBuffer function.
Return Value
TRUE if the function completes successfully; FALSE otherwise.
See Also
SSExportRangeToXMLBuffer, SSExportToXMLBuffer, SSSaveToBuffer, SSSetSheet functions