Spread 8.0 Documentation
SaveBlockToBuffer Method
Support Options
ActiveX Reference > ActiveX Methods > SaveBlockToBuffer Method

Glossary Item Box

SaveBlockToBuffer Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Saves the data from a block of cells to a buffer.

Syntax

C++

VARIANT CSpreadSheet::SaveBlockToBuffer (long Col, long Row, long Col2, long Row2,BOOL fSaveColInfo,BOOL fSaveRowInfo);

Visual Basic

fpSpread.SaveBlockToBuffer(ByVal Col As Long, ByVal Row As Long, ByVal Col2 As Long,ByVal Row2 As Long, fSaveColInfo As Boolean,)fSaveRowInfo As Boolean) As Variant

Parameters

The following parameters are available:

Parameter Description
Col Starting column index of block
Row Starting row index of block
Col2 Ending column index of block
Row2 Ending row index of block
fSaveColInfo True to save the column width
fSaveRowInfo True to save the row height

Remarks

This method gets the data and formatting from the specified block of cells and saves it to a buffer.

Return Type

Variant.

See Also

Saving to a Buffer

Sheet property

LoadBlockFromBuffer, LoadTabFile, SaveTabFile, SaveToFilemethods

DLL Correspondence

SSSaveToBuffer function

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