←Select platform

EnableErrorCheck Property (OneDBarcodeWriteOptions)

Summary

Gets or sets a value that indicates whether to output the optional check word for validity check when writing a barcode (if supported).

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DisplayNameAttribute("Use check digit error")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")] 
public bool EnableErrorCheck {get; set;} 
<DisplayNameAttribute("Use check digit error")> 
<CategoryAttribute("     Error Checking and Correction")> 
<DefaultValueAttribute()> 
<DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")> 
Public Property EnableErrorCheck As Boolean 
[DisplayNameAttribute("Use check digit error")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")] 
public bool EnableErrorCheck {get; set;} 
@property (nonatomic, assign) BOOL enableErrorCheck 
public boolean getEnableErrorCheck() 
public void setEnableErrorCheck(boolean value) 
             
DisplayNameAttribute("Use check digit error") 
CategoryAttribute("     Error Checking and Correction") 
DefaultValueAttribute() 
DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode") 
  
get_EnableErrorCheck(); 
set_EnableErrorCheck(value); 
Object.defineProperty('EnableErrorCheck');  
[DisplayNameAttribute("Use check digit error")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")] 
public: 
property bool EnableErrorCheck { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to output the optional check word for validity check when writing a barcode (if supported). Otherwise, false. 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 and output this value along with the barcode data when writing.

The EnableErrorCheck property will only have effect when writing 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 calculate the check word against the data and use it in writing regardless of the value of EnableErrorCheck.

Example

For an example, refer to OneDBarcodeWriteOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize