# TextFrame.Frames Property

> Gets a collection of all images, textframes, charts, barcodes and drawings in a text frame. 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 Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.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 > TextFrame.Frames Property
- **473 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/frames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/frames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/frames-property/llms-full.txt

---

### Description

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

### Syntax

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

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

### Examples

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

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

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

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

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

### Limitations

Read only.

---

## Nearby

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