TExcelFile.CopyToClipboard Method
Overloads
- TExcelFile.CopyToClipboard(TStringBuilder, TStream)
- TExcelFile.CopyToClipboard(TFlexCelClipboardFormat, TStream)
TExcelFile.CopyToClipboard(TStringBuilder, TStream)
Copies 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.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
TExcelFile.CopyToClipboard(TFlexCelClipboardFormat, TStream)
Copies the active sheet to a clipboard stream, on the format you specify.
Remarks
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 | TFlexCelClipboardFormat | Format you want to copy into outStream. |
const | outStream | TStream | Stream were the information will be copied. If null nothing will be done. |