BarcodeDecoder
A class, which handles decoding of barcode images.
Definition
Namespace:Telerik.Windows.Controls.Barcode
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
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.
public BarcodeDecoder()
Properties
Gets or sets the barcode types that the decoder will try to decode.
public BarcodeType DecodeTypes { get; set; }
ImageSource
BitmapSource
Gets or sets the ImageStream to be used for decoding.
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.
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.
public event EventHandler<DecodingEventArgs> DecodingComplete