Accusoft.BarcodeXpress9.Net
BarcodeTypes Property
See Also  Example Send Feedback
Accusoft.BarcodeXpressSdk Namespace > Reader Class : BarcodeTypes Property




Glossary Item Box

Gets and sets the type of barcodes to analyze during recognition processing.

Syntax

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

Property Value

The BarcodeType set.

Remarks

By default, the barcode engine searches for all 1D barcodes. The 1D barcode set includes all types, except PatchCodeBarcode, PostNetBarcode, GS1 DataBar, IntelligentMail, Royal Post Mail 4-State, Australian Post 4-State, QR Code, PDF417Barcode, Aztec and DataMatrixBarcode

Barcode types can be combined. The C# example above demonstrates creating an array of BarcodeTypes.

Default value: BarcodeType.UnknownBarcode

Example

C#Copy Code
// Create BarcodeType Array
System.Array currentBarcodeTypes = new BarcodeType[2];
             
// Add barcode types
currentBarcodeTypes.SetValue(BarcodeType.Industry2of5Barcode, 0);
currentBarcodeTypes.SetValue(BarcodeType.Interleaved2of5Barcode, 1);
             
// Set the BarcodeTypes property
barcodeXpress.reader.BarcodeTypes = currentBarcodeTypes;

See Also

©2013. Accusoft Corporation. All Rights Reserved.