# TextControl.Drawings Property

> Gets a collection of all drawings 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 value is an object of the type DataVisualization.DrawingCollection. The collection can be used to get or to alter a drawing's attributes and to add drawings to or to remove drawings from a document.

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

---

### Description

Gets a collection of all drawings 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 value is an object of the type [DataVisualization.DrawingCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/drawingcollection/llms-full.txt). The collection can be used to get or to alter a drawing's attributes and to add drawings to or to remove drawings from a document.

### Syntax

```csharp
public DrawingCollection Drawings { get; }
```

```vbnet
Public ReadOnly Property Drawings As DrawingCollection
```

### Examples

The following example iterates through the drawings collection and processes each drawing frame.

```csharp
foreach (TXTextControl.DataVisualization.DrawingFrame drawingFrame in textControl.Drawings)
{
    drawingFrame.DescriptiveText = "Quarterly results";
}
```

```vbnet
For Each drawingFrame As TXTextControl.DataVisualization.DrawingFrame In textControl.Drawings
    drawingFrame.DescriptiveText = "Quarterly results"
Next
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [TextControl.DrawingRightClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/drawingrightclicked-event/llms-full.txt)
- **Next:** [TextControl.DrawingSelected Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/drawingselected-event/llms-full.txt)
