# ServerTextControl.Frames Property

> Gets a collection of all images, textframes, charts and barcodes in a document. 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:** 18.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > ServerTextControl.Frames Property
- **351 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/frames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/frames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/frames-property/llms-full.txt

---

### Description

Gets a collection of all images, textframes, charts and barcodes in a document. 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
public FrameCollection Frames { get; }
```

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

### Examples

The following example iterates through the frames collection and processes each frame base.

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

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

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [ServerTextControl.FormulaReferenceStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/formulareferencestyle-property/llms-full.txt)
- **Next:** [ServerTextControl.GetPages Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/getpages-property/llms-full.txt)
