ImageGear .NET - Updated
BarcodeTypes Property




ImageGear24.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeReader Class : BarcodeTypes Property
Gets the type of barcodes to analyze during recognition processing.
Syntax
'Declaration
 
Public ReadOnly Property BarcodeTypes As Collection(Of ImGearBarcodeType)
'Usage
 
Dim instance As ImGearBarcodeReader
Dim value As Collection(Of ImGearBarcodeType)
 
value = instance.BarcodeTypes
public Collection<ImGearBarcodeType> BarcodeTypes {get;}
public: __property Collection<ImGearBarcodeType>* get_BarcodeTypes();
public:
property Collection<ImGearBarcodeType>^ BarcodeTypes {
   Collection<ImGearBarcodeType>^ get();
}

Property Value

The ImGearBarcodeType set.
Remarks

By default, the barcode engine searches for all 1D barcodes. The 1D barcode set includes all types, except PatchCodeBarcode, PostNetBarcode, PDF417Barcode, Aztec and DataMatrixBarcode

Barcode types can be combined. The C# example below demonstrates creating a generic collection of BarcodeTypes.

Default value: ImGearBarcodeType.UnknownBarcode

Example

// Clear all barcode types

// Remember by default, the barcode engine searches for all 1D barcodes

IGBarcode.Reader.BarcodeTypes.Clear();

// Add barcode types

IGBarcode.Reader.BarcodeTypes.Add(ImGearBarcodeType.Industry2of5Barcode);

IGBarcode.Reader.BarcodeTypes.Add(ImGearBarcodeType.Interleaved2of5Barcode);

See Also

Reference

ImGearBarcodeReader Class
ImGearBarcodeReader Members