ImageGear22.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeReader Class : BarcodeTypes Property |
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
// 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);