ITabRange.CopyToStream

Fore Syntax

CopyToStream(DestStream: IIOStream);

Fore.NET Syntax

CopyToStream(DestStream: System.IO.Stream);

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.

Fore and Fore.NET Example

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

See also:

ITabRange