New to Telerik UI for WPFStart a free 30-day trial

A class, which handles decoding of barcode images.

Definition

Namespace:Telerik.Windows.Controls.Barcode

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class BarcodeDecoder

Inheritance: objectBarcodeDecoder

Constructors

Initializes a new instance of the BarcodeDecoder class. This is the core class for a reader, which will need to have its source and image settings set.

C#
public BarcodeDecoder()

Properties

Gets or sets the barcode types that the decoder will try to decode.

C#
public BarcodeType DecodeTypes { get; set; }

ImageSource

BitmapSource

Gets or sets the ImageStream to be used for decoding.

C#
public BitmapSource ImageSource { get; set; }

Methods

Starts the decoding sequence, which will interpret the image. Parameters codeType: The specific type of barcode that we are looking for. orientation: How to read the barcode.

C#
public void StartDecoding()

Events

This is the handler which the user can attach to the reader class to be executed, when the image has been decoded.

C#
public event EventHandler<DecodingEventArgs> DecodingComplete