# TextControl.Images Property

> Gets a collection of all images contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type ImageCollection.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.Images Property
- **467 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/images-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/images-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/images-property/llms-full.txt

---

### Description

Gets a collection of all images contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type [ImageCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imagecollection/llms-full.txt).

### Syntax

```csharp
public ImageCollection Images { get; }
```

```vbnet
Public ReadOnly Property Images As ImageCollection
```

### Examples

The following example gives every document image an accessible description before export.

```csharp
foreach (TXTextControl.Image image in textControl.Images)
{
    if (string.IsNullOrWhiteSpace(image.DescriptiveText))
    {
        image.DescriptiveText = "Document illustration";
    }
}
```

```vbnet
For Each image As TXTextControl.Image In textControl.Images
    If String.IsNullOrWhiteSpace(image.DescriptiveText) Then
        image.DescriptiveText = "Document illustration"
    End If
Next
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [TextControl.ImageRightClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/imagerightclicked-event/llms-full.txt)
- **Next:** [TextControl.ImageSelected Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/imageselected-event/llms-full.txt)
