# WPF.Barcode.ImageFormat Enumeration

> Specifies the format of the image in WPF. The enumeration contains the following values:

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl.WPF.Barcode`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXBarcode.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXBarcode.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.Barcode > WPF.Barcode.ImageFormat Enumeration
- **568 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/wpf-barcode-imageformat/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/wpf-barcode-imageformat/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/wpf-barcode-imageformat/enumeration/llms-full.txt

---

### Description

Specifies the format of the image in WPF. The enumeration contains the following values:

### Syntax

```csharp
public enum ImageFormat
```

```vbnet
Public Enum ImageFormat
```

### Members

| Member | Value | Description |
|---|---|---|
| BMP | 0 | Specifies the bitmap (BMP) image format. |
| JPEG | 1 | Specifies the Joint Photographic Experts Group (JPEG) image format. |
| PNG | 2 | Specifies the W3C Portable Network Graphics (PNG) image format. |
| TIFF | 3 | Specifies the Tagged Image File Format (TIFF) image format. |
| GIF | 4 | Specifies the Graphics Interchange Format (GIF) image format. |
| WMP | 5 | Specifies the Microsoft Windows Media Photo (WMP) image format. |

### Examples

The following example selects the BMP value from the Image Format enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.WPF.Barcode.ImageFormat value = TXTextControl.WPF.Barcode.ImageFormat.BMP;
Console.WriteLine($"Using Image Format: {value}");
```

```vbnet
Dim value As TXTextControl.WPF.Barcode.ImageFormat = TXTextControl.WPF.Barcode.ImageFormat.BMP
Console.WriteLine($"Using Image Format: {value}")
```

---

## Nearby

- **Previous:** [TXBarcodeCore.ViewChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/txbarcodecore/viewchanged-event/llms-full.txt)
- **Next:** [TXTextControl.DataVisualization namespace](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-datavisualization/llms-full.txt)
