8.10.  Code25OptionalCheckDigit Property

Description

Code25OptionalCheckDigit - returns or sets a value that determines whether to include an optional checksum digit in all Code25 barcodes produced by Barcode DLL.

Syntax

HRESULT put_Code25OptionalCheckDigit(HANDLE handle, VARIANT_BOOL val);
HRESULT get_Code25OptionalCheckDigit(HANDLE handle, VARIANT_BOOL* pVal);

Remarks

A code 2 of 5 barcode can have an optional check digit. When the Code25OptionalCheckDigit is TRUE, a check digit is calculated using modulo 10 algorithm and added to a code 2 of 5 barcode. To display the checksum digit in the human readable text, set ShowCheckDigit to TRUE.

See Also

Section 10.7, “MSI/Plessey, Code 25 and Code11”