# ImageFilters Property

> Returns the available image import filters as a pipe-separated string to initialize the Filter property of a Common Dialog control before inserting an image.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > ImageFilters Property
- **296 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imagefilters-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imagefilters-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imagefilters-property/llms-full.txt

---

This property returns a string which specifies the available image filters. The filter names are separated through a '\|' sign. This string can be used to initialize the Filter property of a Common Dialog control.

### Syntax

```vbscript
TXTextControl.ImageFilters
```

### Data Types

String.

### Examples

This Basic example initializes an OpenFile dialog box with the names of the available image filters and then loads a selected image:

```vbscript
dlgFile.DialogTitle = "Insert Image"
dlgFile.Filename = ""
dlgFile.Filter = TXTextControl1.ImageFilters
dlgFile.FilterIndex = 1
dlgFile.Flags = cdlOFNPathMustExist Or cdlOFNFileMustExist _
   Or cdlOFNHideReadOnly
dlgFile.CancelError = True
dlgFile.ShowOpen
TXTextControl1.ImageInsertAsChar dlgFile.Filename, -1, 100, 100
```

### Limitations

Read only, run time only.

### See Also

- [ImageExportFilters Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageexportfilters-property/llms-full.txt)
- [Programming Category: Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/llms-full.txt)

---

## Nearby

- **Previous:** [ImageFilename Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imagefilename-property/llms-full.txt)
- **Next:** [ImageInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageinsert-method/llms-full.txt)
