Table of Contents

TExcelFile.CopyToClipboardFormat Method

Overloads

TExcelFile.CopyToClipboardFormat(TXlsCellRange, TStringBuilder, TStream)

Copies a range on the active sheet to a clipboard stream, on native and text formats.

Remarks

See the copy and paste demo.

Syntax

Unit: FlexCel.Core

procedure TExcelFile.CopyToClipboardFormat(const range: TXlsCellRange; const textString: TStringBuilder; const xlsStream: TStream); overload;

Parameters

<-> Parameter Type Description
const range TXlsCellRange Range with the cells to copy.
const textString TStringBuilder StringBuilder where the text will be copied. Leave it null to not copy to text.
const xlsStream TStream Stream where the xls native info will be copied. If null no native data will be copied.

See also

TExcelFile.CopyToClipboardFormat(TFlexCelClipboardFormat, TXlsCellRange, TStream)

Copies a range on the active sheet to a clipboard stream, on the specified format.

Remarks

See the copy and paste demo.

Syntax

Unit: FlexCel.Core

procedure TExcelFile.CopyToClipboardFormat(const clipboardFormat: TFlexCelClipboardFormat; const range: TXlsCellRange; const outStream: TStream); overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const clipboardFormat TFlexCelClipboard​Format Format you want to copy into outStream.
const range TXlsCellRange Range with the cells to copy.
const outStream TStream Stream where the clipboard info will be copied. If null, nothing will be copied.

See also