# TextChar.Bounds Property

> Gets the bounding rectangle of the character. The values are given in twips with an origin at the upper left corner of the document. The relationship between the upper left corner of the document and the upper left corner of the visible portion of the document can be obtained with the TextControl.ScrollLocation property.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 10.1
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > TextChar.Bounds Property
- **470 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textchar/bounds-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textchar/bounds-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textchar/bounds-property/llms-full.txt

---

### Description

Gets the bounding rectangle of the character. The values are given in twips with an origin at the upper left corner of the document. The relationship between the upper left corner of the document and the upper left corner of the visible portion of the document can be obtained with the [TextControl.ScrollLocation](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/scrolllocation-property/llms-full.txt) property.

### Syntax

```csharp
public Rectangle Bounds { get; }
```

```vbnet
Public ReadOnly Property Bounds As Rectangle
```

### Examples

The following example examines the first text char in a short document by using `TextChar.Bounds`.

```csharp
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
TextChar textChar = textControl.TextChars[1];

Console.WriteLine($"Bounds: {textChar.Bounds}");
Console.WriteLine("Text Char is ready for use.");
```

```vbnet
textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim textChar As TextChar = textControl.TextChars(1)

Console.WriteLine($"Bounds: {textChar.Bounds}")
Console.WriteLine("Text Char is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TextChar Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textchar/llms-full.txt)
- **Next:** [TextChar.Char Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textchar/char-property/llms-full.txt)
