Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

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

Copyright © GrapeCity, inc. All rights reserved.