TX Text Control .NET for WPF

ImageFormat Enumeration

Enumeration
Namespace
TXTextControl.WPF.Barcode
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXBarcode.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXBarcode.WPF.dll from the setup.

Description

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

Syntax

public enum ImageFormat

Members

MemberValueDescription
BMP0Specifies the bitmap (BMP) image format.
JPEG1Specifies the Joint Photographic Experts Group (JPEG) image format.
PNG2Specifies the W3C Portable Network Graphics (PNG) image format.
TIFF3Specifies the Tagged Image File Format (TIFF) image format.
GIF4Specifies the Graphics Interchange Format (GIF) image format.
WMP5Specifies 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.

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