Table of Contents

ExcelFile.CopyToClipboardFormat Method

Overloads

ExcelFile.CopyToClipboardFormat(TXlsCellRange, StringBuilder, Stream)

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

Remarks

See the copy and paste demo.

Syntax

Namespace: FlexCel.Core

public void CopyToClipboardFormat(TXlsCellRange range, StringBuilder textString, Stream xlsStream)

Parameters

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

See also

ExcelFile.CopyToClipboardFormat(FlexCelClipboardFormat, TXlsCellRange, Stream)

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

Remarks

See the copy and paste demo.

Syntax

Namespace: FlexCel.Core

public abstract void CopyToClipboardFormat(FlexCelClipboardFormat clipboardFormat, TXlsCellRange range, Stream outStream)

Parameters

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

See also