Spread 8.0 Documentation
SSLoadFromBuffer Function
Support Options
DLL Reference > DLL Functions > SSLoadFromBuffer Function

Glossary Item Box

SSLoadFromBuffer Function


See Also

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

Loading Data from a Buffer

SSExportRangeToXMLBuffer, SSExportToXMLBuffer, SSSaveToBuffer, SSSetSheet functions

Copyright © GrapeCity, inc. All rights reserved.