Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example saves data to a buffer and then loads the data.

C++

VARIANT han;

    han = m_Spread.SaveBlockToBuffer(1, 1, 5, 5);

    m_Spread.LoadBlockFromBuffer(1, 1, 5, 5, &han);

Visual Basic

Dim han as Variant

    han = fpSpread1.SaveBlockToBuffer(1, 1, 5, 5)

    fpSpread1.LoadBlockFromBuffer 1, 1, 5, 5, han

Copyright © GrapeCity, inc. All rights reserved.