# IFormattedText.Frames Property

> Gets a collection of all images, textframes, charts, barcodes and drawings in the text part. The property value is an object of the type FrameCollection. The collection can be used to get or to alter common attributes.

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

---

### Description

Gets a collection of all images, textframes, charts, barcodes and drawings in the text part. The property value is an object of the type [FrameCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framecollection/llms-full.txt). The collection can be used to get or to alter common attributes.

### Syntax

```csharp
FrameCollection Frames { get; }
```

```vbnet
ReadOnly Property Frames As FrameCollection
```

### Examples

The following example applies bold formatting through the iformatted text's selection by using `IFormattedText.Frames`.

```csharp
Selection formattedSelection = iFormattedText.Selection;
formattedSelection.Bold = true;
iFormattedText.Selection = formattedSelection;

foreach (FrameBase frameBase in iFormattedText.Frames)
{
    frameBase.DescriptiveText = "Quarterly results";
}
```

```vbnet
Dim formattedSelection As Selection = iFormattedText.Selection
formattedSelection.Bold = True
iFormattedText.Selection = formattedSelection

For Each frameBase As FrameBase In iFormattedText.Frames
    frameBase.DescriptiveText = "Quarterly results"
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [IFormattedText.FormFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/formfields-property/llms-full.txt)
- **Next:** [IFormattedText.GetTextFields Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/gettextfields-method/llms-full.txt)
