LEADTOOLS Barcode (Leadtools.Barcode assembly)

EnableErrorCheck Property (OneDBarcodeReadOptions)

Show in webframe







Gets or sets a value that indicates whether the optional check word is used for validity check when reading a barcode (if supported).
Syntax
[DisplayNameAttribute("Use check digit error")]
[DefaultValueAttribute()]
[DescriptionAttribute("Enables or disables the use of an error check digit while reading a barcode")]
[CategoryAttribute("		Error Checking and Correction")]
public bool EnableErrorCheck {get; set;}
'Declaration
 
<DisplayNameAttribute("Use check digit error")>
<DefaultValueAttribute()>
<DescriptionAttribute("Enables or disables the use of an error check digit while reading a barcode")>
<CategoryAttribute("		Error Checking and Correction")>
Public Property EnableErrorCheck As Boolean
'Usage
 
Dim instance As OneDBarcodeReadOptions
Dim value As Boolean
 
instance.EnableErrorCheck = value
 
value = instance.EnableErrorCheck
[DisplayNameAttribute("Use check digit error")]
[DefaultValueAttribute()]
[DescriptionAttribute("Enables or disables the use of an error check digit while reading a barcode")]
[CategoryAttribute("		Error Checking and Correction")]
public bool EnableErrorCheck {get; set;}
@property (nonatomic, assign) BOOL enableErrorCheck;
public boolean getEnableErrorCheck()
public void setEnableErrorCheck(boolean value)
            
DisplayNameAttribute("Use check digit error")
DefaultValueAttribute()
DescriptionAttribute("Enables or disables the use of an error check digit while reading a barcode")
CategoryAttribute("		Error Checking and Correction")
 
get_EnableErrorCheck();
set_EnableErrorCheck(value);
Object.defineProperty('EnableErrorCheck');
[DisplayNameAttribute("Use check digit error")]
[DefaultValueAttribute()]
[DescriptionAttribute("Enables or disables the use of an error check digit while reading a barcode")]
[CategoryAttribute("		Error Checking and Correction")]
public:
property bool EnableErrorCheck {
   bool get();
   void set (    bool value);
}

Property Value

true to indicate that the optional check word is used for validity check when reading a barcode. Otherwise, false. The default value is false.
Remarks

If you set the value of EnableErrorCheck to true, then the engine will perform error checking (CRC) using the optional check word and the barcode data before returning the barcode found. If the check failed, no barcode is returned.

The EnableErrorCheck property setting will only have effect when reading barcode symbologies that support an optional check word. These barcode symbologies are listed below:

The rest of the symbologies supported by this options class requires the check word to be valid and checking is not optional. The engine will always check the check word against the data regardless of the value of EnableErrorCheck.

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

Target Platforms

See Also

Reference

OneDBarcodeReadOptions Class
OneDBarcodeReadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features