Variables
Properties of Postnet Code

Variables

bool CodePostnetCheckDigit
 Evaluate/ignore check digit.
 
short CodePostnetDirection
 Sets the current direction of the Postnet code in the image.
 
bool CodePostnetInverted
 Code is inverted (white on black)/not inverted.
 
short CodePostnetLevels
 Specifies the levels for the allowed code types of the Postnet code.
 
bool CodePostnetMirror
 Code is mirrored/not mirrored.
 
short CodePostnetQuietzone
 Quietzone in module width.
 
short CodePostnetThreshold
 Threshold between bar and gap in the code.
 
bool CodePostnetTransmitCheckDigit
 Append/do not append check digit to data.
 

Detailed Description

Variable Documentation

bool CodePostnetCheckDigit

Evaluate/ignore check digit.

The checkDigit property activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.

Parameters
[in,out]CodePostnetCheckDigitEvaluate/ignore check digit of the code.
Returns
Status of check digit flag.
short CodePostnetDirection

Sets the current direction of the Postnet code in the image.

Possible property values are: CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH (The barcode may be present in either vertical or horizontal direction, but not in an angle of rotation of 20 degrees). The option CVC_BC_OMNI is not available.

Parameters
[in,out]CodePostnetDirectionSets the current direction of the code.
Returns
Current direction.
bool CodePostnetInverted

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

The property invers = 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 this case TRUE is passed.

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

Specifies the levels for the allowed code types of the Postnet code.

The property's levels can be combined with a bitwise OR. The supported types are: CVC_BC_POSTNET_32_BARS, CVC_BC_POSTNET_37_BARS, CVC_BC_POSTNET_47_BARS, CVC_BC_POSTNET_52_BARS, CVC_BC_POSTNET_62_BARS and CVC_BC_POSTNET_ALL_LEVELS.

Parameters
[in,out]CodePostnetLevelsSpecifies the levels for the allowed code types.
Returns
Current level of Postnet code.
bool CodePostnetMirror

Code is mirrored/not mirrored.

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

Quietzone in module width.

The property quietzone activates or deactivates checking for the presence of quietzones. Possible values are ranging from 2 to 10. Normally, the value is 5. If TRUE is specified, a check is performed for the presence of quiet zones; if FALSE is specified, no check is performed.

Parameters
[in,out]CodePostnetQuietzoneSets the quietzone in module width.
Returns
Quietzone in module width.
short CodePostnetThreshold

Threshold between bar and gap in the code.

The property threshold sets a threshold between bar and gap in the code. Values range from 10 to 90 (%).

Parameters
[in,out]CodePostnetThresholdSets the threshold of the code.
Returns
Threshold between bar and gap.
bool CodePostnetTransmitCheckDigit

Append/do not append check digit to data.

If necessary, the transmit_checkdigit property activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If check digit is set to FALSE, this property is ignored.

Parameters
[in,out]CodePostnetTransmitCheckDigitAppend/do not append check digit to the code.
Returns
Status of check digit transmission flag.