Class BarcodeDecoder
A class, which handles decoding of barcode images.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Barcode
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class BarcodeDecoder
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
CodeType
This is an enumeration containing all code types.
Declaration
[Obsolete("This property was unused and will be removed.")]
public BarcodeType CodeType { get; set; }
Property Value
BarcodeType
|
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
|
Orientation
Determines the orientation of the scanning.
Declaration
[Obsolete("This property was unused and will be removed.")]
public ScannerOrientation Orientation { get; set; }
Property Value
ScannerOrientation
|
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>
|