TExcelFile.CopyToClipboard Method
Overloads
TExcelFile.CopyToClipboard(TStringBuilder, TStream)
Copies the active sheet to a clipboard stream, on native and text formats.
See the copy and paste demo.
Syntax
Unit: FlexCel.Core
procedure TExcelFile.CopyToClipboard(const textString: TStringBuilder; const xlsStream: TStream); overload;
Parameters
<-> |
Parameter |
Type |
Description |
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. Make it null to not copy to xls native. |
See also
Copies the active sheet to a clipboard stream, on the format you specify.
See the copy and paste demo.
Syntax
Unit: FlexCel.Core
procedure TExcelFile.CopyToClipboard(const clipboardFormat: TFlexCelClipboardFormat; const outStream: TStream); overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
clipboardFormat |
TFlexCelClipboard​Format |
Format you want to copy into outStream. |
const |
outStream |
TStream |
Stream were the information will be copied. If null nothing will be done. |
See also