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

Glossary Item Box

SSSaveToBuffer Function


See Also

Applies To

fpSpread DLL control

Description

Saves the sheet or sheets (if there are multiple sheets) to a buffer.

Syntax

C

HGLOBAL SSSaveToBuffer(HWND hWnd, LPLONG lpBufferLen, BOOL fDataOnly);

C++

GLOBALHANDLE TSpread::SaveToBuffer(LPLONG lpBufferLen, BOOL fDataOnly);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpBufferLen Pointer to variable that receives buffer length
fDataOnly Specifies whether to save only data

Remarks

Use the fDataOnly parameter to specify whether only the data is saved, or the data and the formatting.

Return Value

A handle to the new buffer containing the sheet; zero if an error occurred.

See Also

Saving to a Buffer

SSLoadFromBuffer, SSLoadFromFile, SSLoadTabFile, SSSaveTabFile, SSSaveToFile, SSSetSheet functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.