# TXDrawingControl.Copy Method

> Copies the current selected shapes of the TX Drawing Control to the Clipboard.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.WPF.Drawing`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDrawing.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF.Drawing > TXDrawingControl.Copy Method
- **278 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/copy-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/copy-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/copy-method/llms-full.txt

---

### Description

Copies the [current selected shapes](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selection-property/llms-full.txt) of the [TX Drawing Control](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/llms-full.txt) to the Clipboard.

### Syntax

```csharp
public void Copy();
```

```vbnet
Public Sub Copy()
```

### Examples

The following example creates a copy of the txdrawing control. The created object is then available to the surrounding document workflow.

```csharp
tXDrawingControl.Copy();
Console.WriteLine("TXDrawing Control is ready for use.");
```

```vbnet
tXDrawingControl.Copy()
Console.WriteLine("TXDrawing Control is ready for use.")
```

---

## Nearby

- **Previous:** [TXDrawingControl Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/constructor/llms-full.txt)
- **Next:** [TXDrawingControl.Cut Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/cut-method/llms-full.txt)
