Variables
Properties of 4-State USPS Mail Code

Variables

bool Code4StateUSPSInverted
 Code is inverted (white on black)/not inverted.
 
short Code4StateUSPSLSB
 The Position of the "low significant bit" of the 4-State USPS Postal code.
 
bool Code4StateUSPSMirror
 Code is mirrored/not mirrored.
 
short Code4StateUSPSQuietzone
 Quietzone in module width.
 
short Code4StateUSPSThreshold
 Digitalization threshold.
 

Detailed Description

Variable Documentation

bool Code4StateUSPSInverted

Code is inverted (white on black)/not inverted.

The property inverted set to TRUE specifies whether the barcode is present as a black on white image (invers = FALSE) or a white on black image (invers = TRUE). Normally barcodes are printed dark on a bright background in which case the value FALSE is passed. Under certain circumstances, the contrast ratio may be inverted. In such cases, the value TRUE is passed.

Parameters
[in,out]Code4StateUSPSInvertedCode is inverted (white on black)/not inverted.
Returns
Status of inverted flag.
short Code4StateUSPSLSB

The Position of the "low significant bit" of the 4-State USPS Postal code.

The property lsb can have the following states: CVC_BC_LSB_LEFT, CVC_BC_LSB_BOTTOM, CVC_BC_LSB_RIGHT or CVC_BC_LSB_TOP. If the lsb is not correct (for example CVC_BC_LSB_LEFT and CVC_BC_LSB_RIGHT are interchanged) the code interpretation is another. Default lsb is CVC_BC_LSB_LEFT.

Parameters
[in,out]Code4StateUSPSLSBSet the position of the "low significant bit" in the code.
Returns
Position of the low significant bit.
bool Code4StateUSPSMirror

Code is mirrored/not mirrored.

The property mirror = TRUE specifies that the 4-State USPS is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition.

Parameters
[in,out]Code4StateUSPSMirrorCode is mirrored/not mirrored.
Returns
Status of mirror flag.
short Code4StateUSPSQuietzone

Quietzone in module width.

The property quietzone sets the minimal quiet zone in module width. The range is between 2 to 10. Default quiet zone is 5.

Parameters
[in,out]Code4StateUSPSQuietzoneSet the quiet zone in module width.
Returns
Quietzone in module width.
short Code4StateUSPSThreshold

Digitalization threshold.

The property threshold sets the current digitalisation threshold in % ranging from 0 to 100. Default threshold is 10.

Parameters
[in,out]Code4StateUSPSThresholdSet the digitalisation threshold of the code.
Returns
Digitalisation threshold.