# TXDrawingControl.SelectAll Method

> Selects all shapes in the TX Drawing Control.

- **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.SelectAll Method
- **294 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selectall-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selectall-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selectall-method/llms-full.txt

---

### Description

[Selects](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selection-property/llms-full.txt) all [shapes](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/shapes-property/llms-full.txt) in the [TX Drawing Control](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/llms-full.txt).

### Syntax

```csharp
public void SelectAll();
```

```vbnet
Public Sub SelectAll()
```

### Examples

The following example selects all document content. The created object is then available to the surrounding document workflow.

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

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

---

## Nearby

- **Previous:** [TXDrawingControl.SaveImage Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/saveimage-method/llms-full.txt)
- **Next:** [TXDrawingControl.Selection Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf-drawing/txdrawingcontrol/selection-property/llms-full.txt)
