Class
BarcodeDecoder

A class, which handles decoding of barcode images.

Definition

Namespace:Telerik.Windows.Controls.Barcode

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class BarcodeDecoder

Inheritance: objectBarcodeDecoder

Constructors

BarcodeDecoder()

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.

Declaration

cs-api-definition
public BarcodeDecoder()

Properties

DecodeTypes

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

Declaration

cs-api-definition
public BarcodeType DecodeTypes { get; set; }

Property Value

BarcodeType

ImageSource

Gets or sets the ImageStream to be used for decoding.

Declaration

cs-api-definition
public BitmapSource ImageSource { get; set; }

Property Value

BitmapSource

Methods

StartDecoding()

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.

Declaration

cs-api-definition
public void StartDecoding()

Events

DecodingComplete

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

Declaration

cs-api-definition
public event EventHandler<DecodingEventArgs> DecodingComplete

Event Value

EventHandler<DecodingEventArgs>