ImageGear for .NET
BarcodeTypes Property
See Also  Send Feedback
ImageGear21.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeReader Class : BarcodeTypes Property




Glossary Item Box

Gets the type of barcodes to analyze during recognition processing.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2013. Accusoft Corporation. All Rights Reserved.