# FrameBase.Size Property

> Gets or sets the frame's size in twips. For images this property is read only.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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.Size Property
- **574 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/size-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/size-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/size-property/llms-full.txt

---

### Description

Gets or sets the frame's size in twips. For images this property is read only.

### Syntax

```csharp
public Size Size { get; set; }
```

```vbnet
Public Property Size As Size
```

### Examples

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

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

frameBase.Size = new System.Drawing.Size(600, 400);
Console.WriteLine($"Size used by Frame Base: {frameBase.Size}");
```

```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

frameBase.Size = New System.Drawing.Size(600, 400)
Console.WriteLine($"Size used by Frame Base: {frameBase.Size}")
```

### Limitations

For images this property is read only.

---

## Nearby

- **Previous:** [FrameBase.Name Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/name-property/llms-full.txt)
- **Next:** [FrameBase.Sizeable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/sizeable-property/llms-full.txt)
