←Select platform

ReturnCheckDigit Property

Summary
Gets or sets a value that indicates whether the error check digit is returned as part of the barcode data.
Syntax
C#
Objective-C
C++
Java
public BarcodeReturnCheckDigit ReturnCheckDigit { get; set; } 
@property (nonatomic, assign) LTBarcodeReturnCheckDigit returnCheckDigit; 
public BarcodeReturnCheckDigit getReturnCheckDigit() 
public void setReturnCheckDigit(BarcodeReturnCheckDigit value) 
public: 
property BarcodeReturnCheckDigit ReturnCheckDigit { 
   BarcodeReturnCheckDigit get(); 
   void set (    BarcodeReturnCheckDigit ); 
} 

Property Value

Value indicating whether the error check digit is returned as part of the barcode data. The default value is Default.

Remarks

If you set the value of ReturnCheckDigit to Yes, then this digit is returned as part of barcode data (can be retrieved with BarcodeData.GetData or BarcodeData.Value). Then parse the data and extract the error check digit from the rest of the data based on the barcode symbology standard.

1D Barcodes and Use of Check Digit

Due to the variable length of 1D barcodes and the check digit element being optional, let the BarcodeReader engine know that the last element is part of the barcode data or a check digit element by setting EnableErrorCheck to True. Then the check digit will be returned or skipped based on the value of the ReturnCheckDigit option.

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

Target Platforms

Help Version 22.0.2022.9.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.