# ServerTextControl.SelectWord Method

> Selects the word at the current text input position.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > ServerTextControl.SelectWord Method
- **240 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/selectword-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/selectword-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/selectword-method/llms-full.txt

---

### Description

Selects the word at the current text input position.

### Syntax

```csharp
public void SelectWord();
```

```vbnet
Public Sub SelectWord()
```

### Examples

The following example selects the word at the current input position. The created object is then available to the surrounding document workflow.

```csharp
textControl.SelectWord();
Console.WriteLine("Server Text Control is ready for use.");
```

```vbnet
textControl.SelectWord()
Console.WriteLine("Server Text Control is ready for use.")
```

---

## Nearby

- **Previous:** [ServerTextControl.Selection Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/selection-property/llms-full.txt)
- **Next:** [ServerTextControl.SignatureFieldCreated Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/signaturefieldcreated-event/llms-full.txt)
