# Page.TextBounds Property

> Gets the bounding rectangle of the page's text, in twips, relative to the top of the document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > Page.TextBounds Property
- **438 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/page/textbounds-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/page/textbounds-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/page/textbounds-property/llms-full.txt

---

### Description

Gets the bounding rectangle of the page's text, in twips, relative to the top of the document.

### Syntax

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

```vbnet
Public ReadOnly Property TextBounds As Rectangle
```

### Examples

The following example works with the first laid-out page of a short report by using `Page.TextBounds`.

```csharp
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Page page = textControl.GetPages()[1];

Console.WriteLine($"Text Bounds: {page.TextBounds}");
Console.WriteLine("Page is ready for use.");

page.Select();
```

```vbnet
textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim page As Page = textControl.GetPages().Item(1)

Console.WriteLine($"Text Bounds: {page.TextBounds}")
Console.WriteLine("Page is ready for use.")

page.Select()
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [Page.Start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/page/start-property/llms-full.txt)
- **Next:** [PageBorder Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/pageborder/llms-full.txt)
