# FrameBase.Bounds Property

> Gets the frame's bounding rectangle relative to the upper left corner of the document.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > FrameBase.Bounds Property
- **518 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/bounds-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/bounds-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/bounds-property/llms-full.txt

---

### Description

Gets the frame's bounding rectangle relative to the upper left corner of the document.

### Syntax

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

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

### Examples

The following example adds a callout frame and works with it through the common frame API by using `FrameBase.Bounds`.

```csharp
TextFrame callout = new(new System.Drawing.Size(3000, 1200)) { Name = "Callout" };
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText);
FrameBase frameBase = callout;

Console.WriteLine($"Bounds: {frameBase.Bounds}");
Console.WriteLine("Frame Base is ready for use.");
```

```vbnet
Dim callout As New TextFrame(New System.Drawing.Size(3000, 1200)) With { .Name = "Callout" }
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText)
Dim frameBase As FrameBase = callout

Console.WriteLine($"Bounds: {frameBase.Bounds}")
Console.WriteLine("Frame Base is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [FrameBase.Alignment Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/alignment-property/llms-full.txt)
- **Next:** [FrameBase.ChangeZOrder Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/changezorder-method/llms-full.txt)
