# SpelledWord Class

> The abstract class SpelledWord represents a spelled word in a text.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Derived:** `TXTextControl.Proofing.IncorrectWord`
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > SpelledWord Class
- **501 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/llms-full.txt

---

### Description

The abstract class SpelledWord represents a spelled word in a text.

### Syntax

```csharp
public abstract class SpelledWord
```

```vbnet
Public MustInherit Class SpelledWord
```

### Examples

The following example includes the text value from a Spelled Word object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Text: {spelledWord.Text}");
Console.WriteLine("Spelled Word is ready for use.");
```

```vbnet
Console.WriteLine($"Text: {spelledWord.Text}")
Console.WriteLine("Spelled Word is ready for use.")
```

---

## In This Section

- [SpelledWord.Index Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/index-property/llms-full.txt): Gets the index of the spelled word to the corresponding collection. The first word has the index 0.
- [SpelledWord.Length Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/length-property/llms-full.txt): Gets the length of the spelled word.
- [SpelledWord.Start Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/start-property/llms-full.txt): Gets the starting position of a spelled word. It is a zero-based index of the word's first character.
- [SpelledWord.Text Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/text-property/llms-full.txt): Gets the text of the spelled word.

---

## Nearby

- **Previous:** [OpenOfficeDictionary Constructor](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/openofficedictionary/constructor/llms-full.txt)
- **Next:** [SpelledWord.Index Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/index-property/llms-full.txt)
