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