Skip to main content

TcxCustomPivotGrid.CopyToClipboard(Boolean,Boolean,Boolean,Boolean) Method

Copies visible or selected data cells to the clipboard.

Declaration

procedure CopyToClipboard(ACopyAll: Boolean = False; AIncludeHeaders: Boolean = False; AIncludeAllRowHeaders: Boolean = True; AIncludeAllColumnHeaders: Boolean = True); virtual;

Parameters

Name Type Description
ACopyAll Boolean

Optional. Specifies if the procedure copies all data cells to the clipboard:

False
Default. The procedure copies all data cells (except for collapsed grouping values) to the clipboard.
True
The procedure copies only selected data cells to the clipboard. This option corresponds to the end-user cell copy functionality.
AIncludeHeaders Boolean

Optional. Specifies if the procedure copies row/column field values.

AIncludeAllRowHeaders Boolean

Optional. True if the procedure copies all row header values; otherwise, False.

AIncludeAllColumnHeaders Boolean

Optional. True if the procedure copies all column header values; otherwise, False.

Remarks

Call the CopyToClipboard procedure to copy all visible or selected cells to the clipboard.

End-User Commands

Users can press the Ctrl+C or Ctrl+Insert key combination to copy the current cell selection to the clipboard.

See Also