Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > OneDBarcodeWriteOptions Class : EnableErrorCheck Property |
[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;}
'Declaration
<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
'Usage
Dim instance As OneDBarcodeWriteOptions Dim value As Boolean instance.EnableErrorCheck = value value = instance.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 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") <br/>get_EnableErrorCheck();<br/>set_EnableErrorCheck(value);<br/>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 value); }
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:
Code 3 of 9 (Code 39) (BarcodeSymbology.Code3Of9)
Standard 2 of 5 (Industrial 2 of 5) (BarcodeSymbology.CodeStandard2Of5)
Interleaved 2 of 5 (BarcodeSymbology.CodeInterleaved2Of5)
Code 11 (USD-8) (BarcodeSymbology.Code11)
CODABAR (Ames Code/USD-4/NW-7/2 of 7) (BarcodeSymbology.Codabar)
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.
For an example, refer to OneDBarcodeWriteOptions.