ITabRange.CopyToStream

Syntax

CopyToStream(DestStream: IIOStream);

Parameters

DestStream. The stream, to which copying is performed.

Description

The CopyToStream method copies range data to the specified stream.

Comments

All the range contents is copied to the stream: cell values, formulas, formatting, comments.

NOTE. Clear the stream before copying to avoid incorrect copying and mixing with the data contained in the stream.

It is used only in the desktop application.

Example

The example of use is given in description of the ITabRange.PasteFromStream, ITabRange.PasteFromStreamEx methods.

See also:

ITabRange