ExcelFile.CopyToClipboard Method
Overloads
- ExcelFile.CopyToClipboard(StringBuilder, Stream)
- ExcelFile.CopyToClipboard(FlexCelClipboardFormat, Stream)
ExcelFile.CopyToClipboard(StringBuilder, Stream)
Copies 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 CopyToClipboard(StringBuilder textString, Stream xlsStream)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
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. Make it null to not copy to xls native. |
See also
ExcelFile.CopyToClipboard(FlexCelClipboardFormat, Stream)
Copies the active sheet to a clipboard stream, on the format you specify.
Remarks
See the copy and paste demo.
Syntax
Namespace: FlexCel.Core
public void CopyToClipboard(FlexCelClipboardFormat clipboardFormat, Stream outStream)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
clipboardFormat | FlexCelClipboardFormat | Format you want to copy into outStream. | |
outStream | Stream | Stream were the information will be copied. If null nothing will be done. |