Example
The following example saves the data to a buffer.
C++
VARIANT han;
han = m_Spread.SaveBlockToBuffer(1, 1, 5, 5,
true, true);
m_Spread.LoadBlockFromBuffer(1, 1, 5, 5, &han);
Visual Basic
Dim handle as Variant
handle = fpSpread1.SaveBlockToBuffer(1, 1, 5, 5,
True, True)
fpSpread1.LoadBlockFromBuffer 1, 1, 5, 5, handle