# Clipboard Operations

> Cut, copy and paste in TXTextControl with the Clip method, and test with the CanCopy and CanPaste properties whether text can be copied or pasted.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference > Programming Categories > Clipboard Operations
- **256 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/clipboard/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/clipboard/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/clipboard/llms-full.txt

---

Clipboard actions in `TXTextControl` run through one method, `Clip`. Two properties tell you whether text can be copied and whether the clipboard holds data that can be pasted.

### Properties

| Member | Description |
|---|---|
| [`TXTextControl.CanCopy`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancopy-property/llms-full.txt) | Informs whether a part of a `TXTextControl`'s document has been selected and can be copied to the clipboard. |
| [`TXTextControl.CanPaste`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canpaste-property/llms-full.txt) | Informs whether the clipboard contains a format that can be pasted into a `TXTextControl`'s document. |

### Methods

| Member | Description |
|---|---|
| [`TXTextControl.Clip`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clip-method/llms-full.txt) | Performs `TXTextControl` clipboard actions. |

### Related Pages

- [Undo](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/undo/llms-full.txt): undo, redo and undo actions.
- [Text Selections and Character Input](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/selections/llms-full.txt): selection, input position, mouse and keyboard events.

---

## Nearby

- **Previous:** [Hypertext Links](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/hypertext-links/llms-full.txt)
- **Next:** [Undo](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/undo/llms-full.txt)
