8.11. Code39OptionalCheckDigit Property

Description

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

Syntax

HRESULT put_Code39OptionalCheckDigit(HANDLE handle, VARIANT_BOOL val);
HRESULT get_Code39OptionalCheckDigit(HANDLE handle, VARIANT_BOOL* pVal);

Remarks

A code 3 of 9 symbol can have an optional check digit (character) at the end of the barcode. When the Code39OptionalCheckDigit property is set to TRUE, a check digit is calculated using modulo 43 method and appended to the end of the barcode. To display the checksum digit, set ShowCheckDigit to TRUE.

This property affects two symbologies: Code 39 and Code39 Full ASCII.

See Also

Section 10.2, “Code 39”

Section 10.3, “Code 39 Full ASCII”