LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

EnableErrorCheck Property (OneDBarcodeWriteOptions)








Gets or sets a value that indicates whether to output the optional check word for validity check when writing a barcode (if supported). .NET support WinRT support Silverlight support
Syntax
[DisplayNameAttribute("Use check digit error")]
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")]
[CategoryAttribute("		Error Checking and Correction")]
[DefaultValueAttribute()]
public bool EnableErrorCheck {get; set;}
'Declaration
 
<DisplayNameAttribute("Use check digit error")>
<DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")>
<CategoryAttribute("		Error Checking and Correction")>
<DefaultValueAttribute()>
Public Property EnableErrorCheck As Boolean
'Usage
 
Dim instance As OneDBarcodeWriteOptions
Dim value As Boolean
 
instance.EnableErrorCheck = value
 
value = instance.EnableErrorCheck
[DisplayNameAttribute("Use check digit error")]
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")]
[CategoryAttribute("		Error Checking and Correction")]
[DefaultValueAttribute()]
public bool EnableErrorCheck {get; set;}
ObjectiveC Syntax
Java Syntax
DisplayNameAttribute("Use check digit error")
DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")
CategoryAttribute("		Error Checking and Correction")
DefaultValueAttribute()
 get_EnableErrorCheck();
set_EnableErrorCheck(value);
[DisplayNameAttribute("Use check digit error")]
[DescriptionAttribute("Enables or disables the use of an error check digit when writing the barcode")]
[CategoryAttribute("		Error Checking and Correction")]
[DefaultValueAttribute()]
public:
property bool EnableErrorCheck {
   bool get();
   void set (    bool value);
}

Property Value

true to 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OneDBarcodeWriteOptions Class
OneDBarcodeWriteOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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