Barcode (CVCBarcode.dll) 14.0
One-dimensional Barcode

Functions

void CvcBcGet2of5Discrete (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *invers)
 This function reads all parameters for decoding the Code 2/5 Discrete from the specified configuration. More...
 
void CvcBcGet2of5Interleaved (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *invers)
 This function reads all parameters for decoding the Code 2/5 Interleaved from the specified configuration. More...
 
void CvcBcGetCodabar (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *transmit_start_stop, BOOL *invers)
 This function reads all parameters for decoding the Codabar from the specified configuration. More...
 
void CvcBcGetCode11 (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, short *checkdigit, BOOL *transmit_checkdigit, BOOL *invers)
 This function reads all parameters for decoding the Code 11 from the specified configuration. More...
 
void CvcBcGetCode128 (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *invers)
 This function reads parameters for decoding Code 128 from the specified configuration. More...
 
void CvcBcGetCode32 (CVC_BC_CONFIG config, BOOL *active, BOOL *quiet_zone, BOOL *transmit_checkdigit, BOOL *transmit_start_stop, BOOL *invers)
 This function reads all parameters for decoding the Code 32 from the specified configuration. More...
 
void CvcBcGetCode39 (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *transmit_start_stop, BOOL *full_ascii, BOOL *invers)
 This function reads all parameters for decoding the Code 39 from the specified configuration. More...
 
void CvcBcGetCode93 (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *transmit_start_stop, BOOL *invers)
 This function reads all parameters for decoding the Code 93 from the specified configuration. More...
 
void CvcBcGetEAN13 (CVC_BC_CONFIG config, BOOL *active, BOOL *quiet_zone, BOOL *appendix2, BOOL *appendix5, BOOL *invers)
 This function reads all parameters for decoding the EAN 13 from the specified configuration. More...
 
void CvcBcGetEAN8 (CVC_BC_CONFIG config, BOOL *active, BOOL *quiet_zone, BOOL *appendix2, BOOL *appendix5, BOOL *invers)
 This function reads all parameters for decoding the EAN 8 from the specified configuration. More...
 
void CvcBcGetFourStateAustralian (CVC_BC_CONFIG config, BOOL *active, unsigned short *levels, short *direction, short *threshold, BOOL *invers, BOOL *mirror, short *quietzone)
 This function reads all parameters for decoding the 4-State Australian Postal Code. More...
 
short CvcBcGetFourStateKix (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, short lsb, short threshold, BOOL invers, BOOL mirror, short quietzone)
 This function sets all parameters for decoding the the 4-State Kix Postal Code. More...
 
void CvcBcGetFourStateRoyalMail (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, short *direction, short *threshold, BOOL *invers, BOOL *mirror, short *quietzone, BOOL *checkdigit, BOOL *transmit_checkdigit, BOOL *transmit_start_stop)
 This function reads all parameters for decoding the 4-State Royal Mail Postal Code. More...
 
void CvcBcGetFourStateUSPS (CVC_BC_CONFIG config, BOOL *active, short *lsb, short *threshold, BOOL *invers, BOOL *mirror, short *quietzone)
 This function sets all parameters for decoding the 4-State USPS Mail Postal Code. More...
 
void CvcBcGetMSIPlessey (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, BOOL *quiet_zone, short *checkdigit, BOOL *transmit_checkdigit, BOOL *invers)
 This function reads all parameters for decoding the MSIPlessey from the specified configuration. More...
 
void CvcBcGetPharmacode (CVC_BC_CONFIG config, BOOL *active, short *run_direction, short *min_digits, short *max_digits, short *scale_factor, short *quietzone, short *pixel_reference, short *threshold, BOOL *invers)
 This function reads the parameters for decoding Pharmacode from the specified configuration. More...
 
void CvcBcGetPharmacodeEx (CVC_BC_CONFIG config, BOOL *active, short *run_direction, short *min_digits, short *max_digits, short *scale_factor, short *quietzone, short *pixel_reference, short *threshold, BOOL *invers, short *tolerance, short *skew)
 This function reads the parameters for decoding Pharmacode from the specified configuration. More...
 
void CvcBcGetPlanet (CVC_BC_CONFIG config, BOOL *active, unsigned short *levels, short *direction, short *threshold, BOOL *invers, BOOL *mirror, BOOL *checkdigit, BOOL *transmit_checkdigit, short *quietzone)
 This function reads all parameters for decoding the Planet Code from the specified configuration. More...
 
void CvcBcGetPostnet (CVC_BC_CONFIG config, BOOL *active, unsigned short *levels, short *direction, short *threshold, BOOL *invers, BOOL *mirror, BOOL *checkdigit, BOOL *transmit_checkdigit, short *quietzone)
 This function reads all parameters for decoding the Postnet Code from the specified configuration. More...
 
void CvcBcGetSonyCode (CVC_BC_CONFIG config, BOOL *active, short *min_words, short *max_words, BOOL *quiet_zone, BOOL *checksum, BOOL *transmit_checksum, BOOL *transmit_start_stop, BOOL *code_interpretation, BOOL *invers)
 This function reads the parameters for decoding SonyCode from the specified configuration. More...
 
void CvcBcGetUPCA (CVC_BC_CONFIG config, BOOL *active, BOOL *quiet_zone, BOOL *appendix2, BOOL *appendix5, BOOL *invers)
 This function reads all parameters for decoding the UPC A from the specified configuration. More...
 
void CvcBcGetUPCE (CVC_BC_CONFIG config, BOOL *active, BOOL *quiet_zone, BOOL *appendix2, BOOL *appendix5, BOOL *invers)
 This function reads all parameters for decoding the UPC E from the specified configuration. More...
 
short CvcBcSet2of5Discrete (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL invers)
 This function sets all parameters for decoding the Code 2/5 Discrete. More...
 
short CvcBcSet2of5Interleaved (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL invers)
 This function sets all parameters for decoding the Code 2/5 Interleaved. More...
 
short CvcBcSetCodabar (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL transmit_start_stop, BOOL invers)
 This function sets all parameters for decoding the Codabar. More...
 
short CvcBcSetCode11 (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, short checkdigit, BOOL transmit_checkdigit, BOOL invers)
 This function sets all parameters for decoding the Code 11. More...
 
short CvcBcSetCode128 (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL invers)
 This function sets all parameters for decoding the Code 128. More...
 
short CvcBcSetCode32 (CVC_BC_CONFIG config, BOOL active, BOOL quiet_zone, BOOL transmit_checkdigit, BOOL transmit_start_stop, BOOL invers)
 This function sets all parameters for decoding the Code 32. More...
 
short CvcBcSetCode39 (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL transmit_start_stop, BOOL full_ascii, BOOL invers)
 This function sets all parameters for decoding the Code 39. More...
 
short CvcBcSetCode93 (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL transmit_start_stop, BOOL invers)
 This function sets all parameters for decoding the Code 93. More...
 
void CvcBcSetEAN13 (CVC_BC_CONFIG config, BOOL active, BOOL quiet_zone, BOOL appendix2, BOOL appendix5, BOOL invers)
 This function sets all parameters for decoding the EAN 13. More...
 
void CvcBcSetEAN8 (CVC_BC_CONFIG config, BOOL active, BOOL quiet_zone, BOOL appendix2, BOOL appendix5, BOOL invers)
 This function sets all parameters for decoding the EAN 8. More...
 
short CvcBcSetFourStateAustralian (CVC_BC_CONFIG config, BOOL active, unsigned short levels, short direction, short threshold, BOOL invers, BOOL mirror, short quietzone)
 This function sets all parameters for decoding the 4-State Australian Mail Postal Code. More...
 
void CvcBcSetFourStateKix (CVC_BC_CONFIG config, BOOL *active, short *min_digits, short *max_digits, short *lsb, short *threshold, BOOL *invers, BOOL *mirror, short *quietzone)
 This function reads all parameters for decoding the 4-State Kix Postal Code. More...
 
short CvcBcSetFourStateRoyalMail (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, short direction, short threshold, BOOL invers, BOOL mirror, short quietzone, BOOL checkdigit, BOOL transmit_checkdigit, BOOL transmit_start_stop)
 This function sets all parameters for decoding the 4-State Royal Mail Postal Code. More...
 
short CvcBcSetFourStateUSPS (CVC_BC_CONFIG config, BOOL active, short lsb, short threshold, BOOL invers, BOOL mirror, short quietzone)
 This function sets all parameters for decoding the 4-State USPS Mail Postal Code. More...
 
short CvcBcSetMSIPlessey (CVC_BC_CONFIG config, BOOL active, short min_digits, short max_digits, BOOL quiet_zone, short checkdigit, BOOL transmit_checkdigit, BOOL invers)
 This function sets all parameters for decoding the MSIPlessey. More...
 
short CvcBcSetPharmacode (CVC_BC_CONFIG config, BOOL active, short run_direction, short min_digits, short max_digits, short scale_factor, short quietzone, short pixel_reference, short threshold, BOOL invers)
 This function sets all parameters for decoding the Pharmacode. More...
 
short CvcBcSetPharmacodeEx (CVC_BC_CONFIG config, BOOL active, short run_direction, short min_digits, short max_digits, short scale_factor, short quietzone, short pixel_reference, short threshold, BOOL invers, short tolerance, short skew)
 This function sets all parameters for decoding the Pharmacode. More...
 
short CvcBcSetPlanet (CVC_BC_CONFIG config, BOOL active, unsigned short levels, short direction, short threshold, BOOL invers, BOOL mirror, BOOL checkdigit, BOOL transmit_checkdigit, short quietzone)
 This function sets all parameters for decoding the Planet code. More...
 
short CvcBcSetPostnet (CVC_BC_CONFIG config, BOOL active, unsigned short levels, short direction, short threshold, BOOL invers, BOOL mirror, BOOL checkdigit, BOOL transmit_checkdigit, short quietzone)
 This function sets all parameters for decoding the Postnet code. More...
 
short CvcBcSetSonyCode (CVC_BC_CONFIG config, BOOL active, short min_words, short max_words, BOOL quiet_zone, BOOL checksum, BOOL transmit_checksum, BOOL transmit_start_stop, BOOL code_interpretation, BOOL invers)
 This function sets all parameters for decoding the SonyCode. More...
 
void CvcBcSetUPCA (CVC_BC_CONFIG config, BOOL active, BOOL quiet_zone, BOOL appendix2, BOOL appendix5, BOOL invers)
 This function sets all parameters for decoding the UPC A. More...
 
void CvcBcSetUPCE (CVC_BC_CONFIG config, BOOL active, BOOL quiet_zone, BOOL appendix2, BOOL appendix5, BOOL invers)
 This function sets all parameters for decoding the UPC E. More...
 

Detailed Description

Function Documentation

◆ CvcBcGet2of5Discrete()

void CvcBcGet2of5Discrete ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 2/5 Discrete from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSet2of5Discrete function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of 2/5 Discrete code words.
[out]max_digitsMaximum number of 2/5 Discrete code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSet2of5Discrete

◆ CvcBcGet2of5Interleaved()

void CvcBcGet2of5Interleaved ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 2/5 Interleaved from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSet2of5Interleaved function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of 2/5 Interleaved code words.
[out]max_digitsMaximum number of 2/5 Interleaved code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSet2of5Interleaved

◆ CvcBcGetCodabar()

void CvcBcGetCodabar ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  transmit_start_stop,
BOOL *  invers 
)

This function reads all parameters for decoding the Codabar from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCodabar function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of Codabar code words.
[out]max_digitsMaximum number of Codabar code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]transmit_start_stopTransmit/do not transmit start and stop digits with data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCodabar

◆ CvcBcGetCode11()

void CvcBcGetCode11 ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
short *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 11 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCode11 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of Code 11 code words.
[out]max_digitsMaximum number of Code 11 code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCode11

◆ CvcBcGetCode128()

void CvcBcGetCode128 ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  invers 
)

This function reads parameters for decoding Code 128 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCode128 function.

Hint:
As the EAN128 code is a derivation of the Code 128 CVB Barcode reads also EAN128 codes and shows in the parameter fnc1 of the CVC_BC_INFO result data structure which one it is.
Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of Code 128 code words.
[out]max_digitsMaximum number of Code 128 code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCode128

◆ CvcBcGetCode32()

void CvcBcGetCode32 ( CVC_BC_CONFIG  config,
BOOL *  active,
BOOL *  quiet_zone,
BOOL *  transmit_checkdigit,
BOOL *  transmit_start_stop,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 32 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCode32 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code. Specifying TRUE enables and FALSE disables decoding.
[out]quiet_zoneCheck/ignore quiet zone.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]transmit_start_stopTransmit/do not transmit start and stop digits with data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCode32

◆ CvcBcGetCode39()

void CvcBcGetCode39 ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  transmit_start_stop,
BOOL *  full_ascii,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 39 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration. All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCode39 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of Code 39 code words. digits which may have been transmitted.
[out]max_digitsMaximum number of Code 39 code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]transmit_start_stopTransmit/do not transmit start and stop digits with data.
[out]full_asciiPermit/do not permit complete ASCII code.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCode39

◆ CvcBcGetCode93()

void CvcBcGetCode93 ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  transmit_start_stop,
BOOL *  invers 
)

This function reads all parameters for decoding the Code 93 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetCode93 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.
[in]min_digitsMinimum number of Code 93 code words.
[in]max_digitsMaximum number of Code 93 code words.
[in]quiet_zoneCheck/ignore quiet zone.
[in]checkdigitEvaluate/ignore check digit.
[in]transmit_checkdigitAppend/do not append check digit to data.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.
[in]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetCode93

◆ CvcBcGetEAN13()

void CvcBcGetEAN13 ( CVC_BC_CONFIG  config,
BOOL *  active,
BOOL *  quiet_zone,
BOOL *  appendix2,
BOOL *  appendix5,
BOOL *  invers 
)

This function reads all parameters for decoding the EAN 13 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetEAN13 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]quiet_zoneCheck/ignore quiet zone.
[out]appendix22 character add-on code present/not present.
[out]appendix55 character add-on code present/not present.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetEAN13

◆ CvcBcGetEAN8()

void CvcBcGetEAN8 ( CVC_BC_CONFIG  config,
BOOL *  active,
BOOL *  quiet_zone,
BOOL *  appendix2,
BOOL *  appendix5,
BOOL *  invers 
)

This function reads all parameters for decoding the EAN 8 from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetEAN8 function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]quiet_zoneCheck/ignore quiet zone.
[out]appendix22 character add-on code present/not present.
[out]appendix55 character add-on code present/not present.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetEAN8

◆ CvcBcGetFourStateAustralian()

void CvcBcGetFourStateAustralian ( CVC_BC_CONFIG  config,
BOOL *  active,
unsigned short *  levels,
short *  direction,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
short *  quietzone 
)

This function reads all parameters for decoding the 4-State Australian Postal Code.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetFourStateAustralian function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]levelsBit field which specifies the permitted subtypes of the 4-State Australian.

The 4-State Australian has various subtypes you can choose. You can use a bitwise OR combination of the constants:
CVC_BC_FOUR_STATE_AUSTRALIAN_NO_LEVELS
CVC_BC_FOUR_STATE_AUSTRALIAN_STANDARD_CUSTOMER_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_ROUTING_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_REPLY_PAID_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_REDIRECTION_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_CUSTOMER_BARCODE_2
CVC_BC_FOUR_STATE_AUSTRALIAN_CUSTOMER_BARCODE_3
CVC_BC_FOUR_STATE_AUSTRALIAN_ALL_LEVELS
[out]directionDirection of the 4-State Australian in the image.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100.
[out]inversCode is inverted (white on black)/not inverted.
[out]mirrorCode is mirrored/not mirrored.
[out]quietzoneQuietzone in module width.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetFourStateAustralian

◆ CvcBcGetFourStateKix()

short CvcBcGetFourStateKix ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
short  lsb,
short  threshold,
BOOL  invers,
BOOL  mirror,
short  quietzone 
)

This function sets all parameters for decoding the the 4-State Kix Postal Code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of the 4-State Kix code words.

The min_digits and max_digits parameters limit the number of code words for the 4-State Kix Postal Code. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted. The size is between 6 and 18 digits.
[in]max_digitsMaximum number of the 4-State Kix code words.

The min_digits and max_digits parameters limit the number of code words for the 4-State Kix Postal Code. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted. The size is between 6 and 18 digits.
[in]lsbThe Position of the "low significant bit" of the code in the image.

The lsb "low significant bit" can be 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 = CVC_BC_LSB_LEFT.
[in]thresholdDigitalisation threshold in % ranging from 0 to 100.

Default threshold = 10.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
[in]mirrorCode is mirrored/not mirrored.

The parameter mirror = TRUE specifies that the 4-State Kix is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition.
[in]quietzoneQuietzone in module width.

The parameter quietzone set the minimal quiet zone in module width. The range is between 2 to 10. Default quietzone = 5.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO
CvcBcGetFourStateKix

◆ CvcBcGetFourStateRoyalMail()

void CvcBcGetFourStateRoyalMail ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
short *  direction,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
short *  quietzone,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  transmit_start_stop 
)

This function reads all parameters for decoding the 4-State Royal Mail Postal Code.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetFourStateRoyalMail function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of the 4-State Royal Mail code words.
[out]max_digitsMaximum number of the 4-State Royal Mail code words.
[out]directionDirection of the 4-State Royal Mail in the picture.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100.
[out]inversCode is inverted (white on black)/not inverted. may be inverted. In such cases, you pass the value TRUE.
[out]mirrorCode is mirrored/not mirrored.
[out]quietzoneQuiet zone in modulwidth.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]transmit_start_stopTransmit/do not transmit start and stop digits with data.
Supported platforms:
Win32
Win64
Related Topics:
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO
CvcBcSetFourStateRoyalMail

◆ CvcBcGetFourStateUSPS()

void CvcBcGetFourStateUSPS ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  lsb,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
short *  quietzone 
)

This function sets all parameters for decoding the 4-State USPS Mail Postal Code.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetFourStateUSPS function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]lsbThe Position of the "low significant bit" of the code in the image.

The lsb "low significant bit" can be 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 = CVC_BC_LSB_LEFT.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100.
[out]inversCode is inverted (white on black)/not inverted.
[out]mirrorCode is mirrored/not mirrored.
[out]quietzoneQuietzone in module width.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetFourStateUSPS

◆ CvcBcGetMSIPlessey()

void CvcBcGetMSIPlessey ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
BOOL *  quiet_zone,
short *  checkdigit,
BOOL *  transmit_checkdigit,
BOOL *  invers 
)

This function reads all parameters for decoding the MSIPlessey from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetMSIPlessey function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of MSIPlessey code words.
[out]max_digitsMaximum number of MSIPlessey code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. There are 5 different evaluations of check digits possible:
CVC_BC_MSI_PLESSEY_CHECKDIGIT_NO,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD11,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10_10, and
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10_11
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetMSIPlessey

◆ CvcBcGetPharmacode()

void CvcBcGetPharmacode ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  run_direction,
short *  min_digits,
short *  max_digits,
short *  scale_factor,
short *  quietzone,
short *  pixel_reference,
short *  threshold,
BOOL *  invers 
)

This function reads the parameters for decoding Pharmacode from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetPharmacode function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code (default CVC_BC_OFF).
[out]run_directionRun-direction in which the Pharmacode moves in the camera picture. There are four run-directions possible:
CVC_BC_PHARMACODE_RUN_DIRECTION_RIGHT (default run-direction),
CVC_BC_PHARMACODE_RUN_DIRECTION_UP
CVC_BC_PHARMACODE_RUN_DIRECTION_LEFT, or
CVC_BC_PHARMACODE_RUN_DIRECTION_DOWN
[out]min_digitsMinimum number of Pharmacode code words.
[out]max_digitsMaximum number of Pharmacode code words.
[out]scale_factorScale factor of the Pharmacode in %.
[out]quietzoneMinimal quiet zone in a 10th of a millimetre.
[out]pixel_referenceIllustration measure of the camera in a 10th of a pixel per millimetre.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100 (default 10).
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetPharmacode, CvcBcSetPharmacodeEx

◆ CvcBcGetPharmacodeEx()

void CvcBcGetPharmacodeEx ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  run_direction,
short *  min_digits,
short *  max_digits,
short *  scale_factor,
short *  quietzone,
short *  pixel_reference,
short *  threshold,
BOOL *  invers,
short *  tolerance,
short *  skew 
)

This function reads the parameters for decoding Pharmacode from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetPharmacode function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code (default CVC_BC_OFF).
[out]run_directionRun-direction in which the Pharmacode moves in the camera picture. There are four run-directions possible:
CVC_BC_PHARMACODE_RUN_DIRECTION_RIGHT (default run-direction),
CVC_BC_PHARMACODE_RUN_DIRECTION_UP
CVC_BC_PHARMACODE_RUN_DIRECTION_LEFT, or
CVC_BC_PHARMACODE_RUN_DIRECTION_DOWN
[out]min_digitsMinimum number of Pharmacode code words.
[out]max_digitsMaximum number of Pharmacode code words.
[out]scale_factorScale factor of the Pharmacode in %.
[out]quietzoneMinimal quiet zone in a 10th of a millimetre.
[out]pixel_referenceIllustration measure of the camera in a 10th of a pixel per millimetre.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100 (default 10).
[out]inversCode is inverted (white on black)/not inverted.
[out]toleranceWhen decoding Pharmacodes, CVC Barcode will verify whether the code is printed within predefined geometric tolerances before accepting it. The # setting CVC_BC_PHARMACODE_TOLERANCE_EXTENDED may be used to perform a more relaxed tolerance test (default: CVC_BC_PHARMACODE_TOLERANCE_STANDARD).
[out]skewDepending on the angle at which the camera looks at the Pharmacode, it might be necessary to tell the software to compensate the image skew using the appropriate CVC_BC_PHARMACODE_SKEW_* setting (default value: CVC_BC_PHARMACODE_SKEW_NONE).
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetPharmacode, CvcBcSetPharmacodeEx, CvcBcGetPharmacode

◆ CvcBcGetPlanet()

void CvcBcGetPlanet ( CVC_BC_CONFIG  config,
BOOL *  active,
unsigned short *  levels,
short *  direction,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
short *  quietzone 
)

This function reads all parameters for decoding the Planet Code from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetPlanet function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]levelsSpecifies the levels for the allowed code types.

The types could be combined with a bitwise OR. The supported types are: CVC_BC_PLANET_62_BARS, CVC_BC_PLANET_72_BARS, and CVC_BC_PLANET_ALL_LEVELS.
[out]directionSpecifies the orientation of the code in the image.

Possible values are:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH (The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees). The option CVC_BC_OMNI is not available.
[out]thresholdThreshold between bar and gap in the code. Values ranges from 10 to 90 (%).
[out]inversCode is inverted (white on black)/not inverted.
[out]mirrorCode is mirrored/not mirrored.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]quietzoneQuiet zone in modulwidth. Possible values ranging from 2 to 10. Normally, the value is 5.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetPlanet

◆ CvcBcGetPostnet()

void CvcBcGetPostnet ( CVC_BC_CONFIG  config,
BOOL *  active,
unsigned short *  levels,
short *  direction,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
BOOL *  checkdigit,
BOOL *  transmit_checkdigit,
short *  quietzone 
)

This function reads all parameters for decoding the Postnet Code from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetPostnet function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]levelsSpecifies the levels for the allowed code types.

The types could 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.
[out]directionSpecifies the orientation of the code in the image.

Possible values are:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH (The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees). The option CVC_BC_OMNI is not available.
[out]thresholdThreshold between bar and gap in the code. Values ranges from 10 to 90 (%).
[out]inversCode is inverted (white on black)/not inverted.
[out]mirrorCode is mirrored/not mirrored.
[out]checkdigitEvaluate/ignore check digit.
[out]transmit_checkdigitAppend/do not append check digit to data.
[out]quietzoneQuiet zone in modulwidth. Possible values ranging from 2 to 10. Normally, the value is 5.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetPostnet

◆ CvcBcGetSonyCode()

void CvcBcGetSonyCode ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_words,
short *  max_words,
BOOL *  quiet_zone,
BOOL *  checksum,
BOOL *  transmit_checksum,
BOOL *  transmit_start_stop,
BOOL *  code_interpretation,
BOOL *  invers 
)

This function reads the parameters for decoding SonyCode from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetSonyCode function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_wordsMinimum number of SonyCode code words.
[out]max_wordsMaximum number of SonyCode code words.
[out]quiet_zoneCheck/ignore quiet zone.
[out]checksumEvaluate/ignore check sum.
[out]transmit_checksumAppend/do not append checksum to data.
[out]transmit_start_stopTransmit/do not transmit start and stop digit with data.
[out]code_interpretationCheck/ignore full description of SonyCode.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetSonyCode

◆ CvcBcGetUPCA()

void CvcBcGetUPCA ( CVC_BC_CONFIG  config,
BOOL *  active,
BOOL *  quiet_zone,
BOOL *  appendix2,
BOOL *  appendix5,
BOOL *  invers 
)

This function reads all parameters for decoding the UPC A from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetUPCA function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]quiet_zoneCheck/ignore quiet zone.
[out]appendix22 character add-on code present/not present.
[out]appendix55 character add-on code present/not present.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetUPCA

◆ CvcBcGetUPCE()

void CvcBcGetUPCE ( CVC_BC_CONFIG  config,
BOOL *  active,
BOOL *  quiet_zone,
BOOL *  appendix2,
BOOL *  appendix5,
BOOL *  invers 
)

This function reads all parameters for decoding the UPC E from the specified configuration.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetUPCE function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]quiet_zoneCheck/ignore quiet zone.
[out]appendix22 character add-on code present/not present.
[out]appendix55 character add-on code present/not present.
[out]inversCode is inverted (white on black)/not inverted.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcSetUPCE

◆ CvcBcSet2of5Discrete()

short CvcBcSet2of5Discrete ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  invers 
)

This function sets all parameters for decoding the Code 2/5 Discrete.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of 2/5 Discrete code words.

The min_digits and max_digits parameters limit the number of Code 2/5 Discrete code words. This number does not generally correspond to the number of encoded data digits.
[in]max_digitsMaximum number of 2/5 Discrete code words.

The min_digits and max_digits parameters limit the number of Code 2/5 Discrete code words. This number does not generally correspond to the number of encoded data digits.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGet2of5Discrete

◆ CvcBcSet2of5Interleaved()

short CvcBcSet2of5Interleaved ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  invers 
)

This function sets all parameters for decoding the Code 2/5 Interleaved.

If the function CvcBcDecodeBarcode recognises a Data Matrix, the QR result parameter in the CVC_BC_INFO structure contain informations and results.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of 2/5 Interleaved code words.

The parameters min_digits and max_digits limit the number of code words for the 2/5 Interleaved. This number does not generally correspond to the number of encoded data digits. Code 2/5 Interleaved always has an even number of characters. The min_digits must therefore be even and greater than or equal to 2.
[in]max_digitsMaximum number of 2/5 Interleaved code words.

The parameters min_digits and max_digits limit the number of code words for the 2/5 Interleaved. This number does not generally correspond to the number of encoded data digits. Code 2/5 Interleaved always has an even number of characters. The min_digits must therefore be even and greater than or equal to 2.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGet2of5Interleaved

◆ CvcBcSetCodabar()

short CvcBcSetCodabar ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  transmit_start_stop,
BOOL  invers 
)

This function sets all parameters for decoding the Codabar.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of Codabar code words.

The parameters min_digits and max_digits limit the number of code words for the Codabar. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]max_digitsMaximum number of Codabar code words.

The parameters min_digits and max_digits limit the number of code words for the Codabar. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.

The parameter transmit_start_stop activates or deactivates transmission of the start or stop digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. The start/stop digit for Codabar are the characters 'A', 'B','C' or 'D'.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCodabar

◆ CvcBcSetCode11()

short CvcBcSetCode11 ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
short  checkdigit,
BOOL  transmit_checkdigit,
BOOL  invers 
)

This function sets all parameters for decoding the Code 11.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of Code 11 code words.

The min_digits and max_digits parameters limit the number of code words for the Code 11. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]max_digitsMaximum number of Code 11 code words.

The min_digits and max_digits parameters limit the number of code words for the Code 11. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The checkdigit parameter activates or deactivates the checking of one or two check digits which may be present. There are three possible settings:
CVC_BC_CODE11_CHECKDIGIT_NO,
CVC_BC_CODE11_CHECKDIGIT_1, and
CVC_BC_CODE11_CHECKDIGIT_2
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCode11

◆ CvcBcSetCode128()

short CvcBcSetCode128 ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  invers 
)

This function sets all parameters for decoding the Code 128.

Hint:
As the EAN128 code is a derivation of the Code 128 CVB Barcode reads also EAN128 codes and shows in the parameter fnc1 of the CVC_BC_INFO result data structure which one it is.
Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of Code 128 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 128. In general, this number is not identical to the number of coded data digits (see Code 128 specifications).
[in]max_digitsMaximum number of Code 128 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 128. In general, this number is not identical to the number of coded data digits (see Code 128 specifications).
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE the presence of quiet zones is checked, if you specify FALSE quiet zones are ignored.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit activates and deactivates monitoring for check digit presence. TRUE activates the check and FALSE deactivates it.
[in]transmit_checkdigitAppend/do not append check digit to data.

You use the parameter transmit_checkdigit to activate or deactivate check digit transmission if a check digit is present. TRUE activates the transmission and FALSE deactivates it. If checkdigit = FALSE, the parameter is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCode128

◆ CvcBcSetCode32()

short CvcBcSetCode32 ( CVC_BC_CONFIG  config,
BOOL  active,
BOOL  quiet_zone,
BOOL  transmit_checkdigit,
BOOL  transmit_start_stop,
BOOL  invers 
)

This function sets all parameters for decoding the Code 32.

Note
The check digit is always checked with the Code 32.
Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.

The parameter transmit_start_stop activates or deactivates transmission of the start digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. The start digit for Code 32 is "A".
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCode32

◆ CvcBcSetCode39()

short CvcBcSetCode39 ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  transmit_start_stop,
BOOL  full_ascii,
BOOL  invers 
)

This function sets all parameters for decoding the Code 39.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of Code 39 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 39. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]max_digitsMaximum number of Code 39 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 39. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE the presence of quiet zones is checked, if you specify FALSE quiet zones are ignored.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.

The parameter transmit_start_stop activates or deactivates transmission of the start or stop digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. The start/stop digit for Code 39 is the asterisk (*).
[in]full_asciiPermit/do not permit complete ASCII code.

If the complete ASCII code is permitted (full_ascii = TRUE), the corresponding Code 39 character sequences are interpreted correctly. Otherwise the characters are returned uninterpreted (see Code 39 specifications).
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCode39

◆ CvcBcSetCode93()

short CvcBcSetCode93 ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  transmit_start_stop,
BOOL  invers 
)

This function sets all parameters for decoding the Code 93.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of Code 93 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 93. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]max_digitsMaximum number of Code 93 code words.

The parameters min_digits and max_digits limit the number of code words for the Code 93. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.

The parameter transmit_start_stop activates or deactivates transmission of the start or stop digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. The start/stop digit for Code 93 is the sharp (#).
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetCode93

◆ CvcBcSetEAN13()

void CvcBcSetEAN13 ( CVC_BC_CONFIG  config,
BOOL  active,
BOOL  quiet_zone,
BOOL  appendix2,
BOOL  appendix5,
BOOL  invers 
)

This function sets all parameters for decoding the EAN 13.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]appendix22 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the EAN 13 is read and any add-on code which may be present is ignored.
[in]appendix55 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the EAN 13 is read and any add-on code which may be present is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetEAN13

◆ CvcBcSetEAN8()

void CvcBcSetEAN8 ( CVC_BC_CONFIG  config,
BOOL  active,
BOOL  quiet_zone,
BOOL  appendix2,
BOOL  appendix5,
BOOL  invers 
)

This function sets all parameters for decoding the EAN 8.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]appendix22 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the EAN 8 is read and any add-on code which may be present is ignored.
[in]appendix55 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the EAN 8 is read and any add-on code which may be present is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetEAN8

◆ CvcBcSetFourStateAustralian()

short CvcBcSetFourStateAustralian ( CVC_BC_CONFIG  config,
BOOL  active,
unsigned short  levels,
short  direction,
short  threshold,
BOOL  invers,
BOOL  mirror,
short  quietzone 
)

This function sets all parameters for decoding the 4-State Australian Mail Postal Code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]levelsBit field which specifies the permitted subtypes of the 4-State Australian.

The 4-State Australian has various subtypes you can choose. You can use a bitwise OR combination of the constants:
CVC_BC_FOUR_STATE_AUSTRALIAN_NO_LEVELS
CVC_BC_FOUR_STATE_AUSTRALIAN_STANDARD_CUSTOMER_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_ROUTING_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_REPLY_PAID_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_REDIRECTION_BARCODE
CVC_BC_FOUR_STATE_AUSTRALIAN_CUSTOMER_BARCODE_2
CVC_BC_FOUR_STATE_AUSTRALIAN_CUSTOMER_BARCODE_3
CVC_BC_FOUR_STATE_AUSTRALIAN_ALL_LEVELS
[in]directionDirection of the 4-State Australian in the image.

The parameter direction set the direction in which the 4-State Australian is in the image. There are three directions possible:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH. The default direction is CVC_BC_FENCE.
[in]thresholdDigitalisation threshold in % ranging from 0 to 100.

Default threshold = 10.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
[in]mirrorCode is mirrored/not mirrored.

The parameter mirror = TRUE specifies that the 4-State Australian is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition.
[in]quietzoneQuietzone in module width.

The parameter quietzone set the minimal quiet zone in module width. The range is between 2 to 10. Default quietzone = 5.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO
CvcBcGetFourStateAustralian

◆ CvcBcSetFourStateKix()

void CvcBcSetFourStateKix ( CVC_BC_CONFIG  config,
BOOL *  active,
short *  min_digits,
short *  max_digits,
short *  lsb,
short *  threshold,
BOOL *  invers,
BOOL *  mirror,
short *  quietzone 
)

This function reads all parameters for decoding the 4-State Kix Postal Code.

The config parameter is the handle to the configuration from which the data is to be read. If config = NULL, the data is read from the default configuration.

All other parameters are pointers to variables in which the corresponding information is to be stored. The description of the parameters is specified in the associated CvcBcSetFourStateKix function.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[out]activeEvaluate / don't evaluate evaluate code.
[out]min_digitsMinimum number of the 4-State Kix code words.
[out]max_digitsMaximum number of the 4-State Kix code words.
[out]lsbThe Position of the "low significant bit" of the code in the image.

The lsb "low significant bit" can be 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 = CVC_BC_LSB_LEFT.
[out]thresholdDigitalisation threshold in % ranging from 0 to 100.
[out]inversCode is inverted (white on black)/not inverted.
[out]mirrorCode is mirrored/not mirrored.
[out]quietzoneQuietzone in module width.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetFourStateKix

◆ CvcBcSetFourStateRoyalMail()

short CvcBcSetFourStateRoyalMail ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
short  direction,
short  threshold,
BOOL  invers,
BOOL  mirror,
short  quietzone,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
BOOL  transmit_start_stop 
)

This function sets all parameters for decoding the 4-State Royal Mail Postal Code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of the 4-State Royal Mail code words.

The min_digits and max_digits parameters limit the number of code words for the 4-State RoyalMail Postal Code. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted. The size is between 7 and 13 digits.
[in]max_digitsMaximum number of the 4-State Royal Mail code words.

The min_digits and max_digits parameters limit the number of code words for the 4-State RoyalMail Postal Code. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted. The size is between 7 and 13 digits.
[in]directionDirection of the 4-State Royal Mail in the picture.

The parameter direction set the direction in which the 4-State Royal Mail is in the image. There are three directions possible:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH. The default direction is CVC_BC_FENCE.
[in]thresholdDigitalisation threshold in % ranging from 0 to 100.

Default threshold = 10.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
[in]mirrorCode is mirrored/not mirrored.

The parameter mirror = TRUE specifies that the 4-State Royal Mail is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition.
[in]quietzoneQuiet zone in modulwidth.

The parameter quietzone set the minimal quiet zone in module width. The range is 2 to 10. The default value is 5.
[in]checkdigitEvaluate/ignore check digit.

The checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking. Default checkdigit = TRUE.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored. Default transmit_checkdigit = FALSE.
[in]transmit_start_stopTransmit/do not transmit start and stop digits with data.

The parameter transmit_start_stop activates or deactivates transmission of the start or stop digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. The start/stop digits for 4-State Royal Mail are the start and stop characters '(' and ')'. Default transmit_start_stop = TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO
CvcBcGetFourStateRoyalMail

◆ CvcBcSetFourStateUSPS()

short CvcBcSetFourStateUSPS ( CVC_BC_CONFIG  config,
BOOL  active,
short  lsb,
short  threshold,
BOOL  invers,
BOOL  mirror,
short  quietzone 
)

This function sets all parameters for decoding the 4-State USPS Mail Postal Code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]lsbThe Position of the "low significant bit" of the code in the image.

The lsb "low significant bit" can be 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 = CVC_BC_LSB_LEFT.
[in]thresholdDigitalisation threshold in % ranging from 0 to 100.

Default threshold = 10.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
[in]mirrorCode is mirrored/not mirrored.

The parameter 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.
[in]quietzoneQuietzone in module width.

The parameter quietzone set the minimal quiet zone in module width. The range is between 2 to 10. Default quietzone = 5.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO
CvcBcGetFourStateUSPS

◆ CvcBcSetMSIPlessey()

short CvcBcSetMSIPlessey ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_digits,
short  max_digits,
BOOL  quiet_zone,
short  checkdigit,
BOOL  transmit_checkdigit,
BOOL  invers 
)

This function sets all parameters for decoding the MSIPlessey.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_digitsMinimum number of MSIPlessey code words.

The min_digits and max_digits parameters limit the number of code words for the MSIPlessey. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]max_digitsMaximum number of MSIPlessey code words.

The min_digits and max_digits parameters limit the number of code words for the MSIPlessey. In general, this number is not identical to the number of coded data digits. The parameters do not take account of any start and stop digits which may have been transmitted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]checkdigitEvaluate/ignore check digit.

The parameter checkdigit parameter activates or deactivates the checking of any check digit which may be present. There are 5 different evaluations of check digits possible:
CVC_BC_MSI_PLESSEY_CHECKDIGIT_NO,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD11,
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10_10, and
CVC_BC_MSI_PLESSEY_CHECKDIGIT_MOD10_11
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = CVC_BC_MSI_PLESSEY_CHECKDIGIT_NO this parameter is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetMSIPlessey

◆ CvcBcSetPharmacode()

short CvcBcSetPharmacode ( CVC_BC_CONFIG  config,
BOOL  active,
short  run_direction,
short  min_digits,
short  max_digits,
short  scale_factor,
short  quietzone,
short  pixel_reference,
short  threshold,
BOOL  invers 
)

This function sets all parameters for decoding the Pharmacode.

The Pharmacode is different to all other 1D-Barcodes to read. It is impossible to read the Pharmacode omni-directional because you have to know if you have to read the Pharmacode from the left to the right or contrariwise before you read it. So the adjustment CVC_BC_DIRECTION have no effect for the Pharmacode. The Pharmacode have its own direction which you can set with the parameter run_direction.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code (default CVC_BC_OFF).

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]run_directionRun-direction in which the Pharmacode moves in the camera picture. There are four run-directions possible:
CVC_BC_PHARMACODE_RUN_DIRECTION_RIGHT (default run-direction),
CVC_BC_PHARMACODE_RUN_DIRECTION_UP
CVC_BC_PHARMACODE_RUN_DIRECTION_LEFT, or
CVC_BC_PHARMACODE_RUN_DIRECTION_DOWN
[in]min_digitsMinimum number of Pharmacode code words.

The parameters min_digits and max_digits limit the number of code words for the Pharmacode. The parameter min_digits is in the range 2 to 16 (default 4). The parameter max_digits is in the range 2 to 16 (default 16).
[in]max_digitsMaximum number of Pharmacode code words.

The parameters min_digits and max_digits limit the number of code words for the Pharmacode. The parameter min_digits is in the range 2 to 16 (default 4). The parameter max_digits is in the range 2 to 16 (default 16).
[in]scale_factorScale factor of the Pharmacode in %.

Possible values are 50 to 200 (default 100).
100% = standard Pharmacode
66% = miniature Pharmacode
[in]quietzoneMinimal quiet zone in a 10th of a millimetre.

The parameter quietzone set the minimal quiet zone in 1/10 mm. The range is 10 to 200 (default 50).
[in]pixel_referenceIllustration measure of the camera in a 10th of a pixel per millimetre.

The pixel_reference set the illustration measure of the camera in 1/10 pixel per millimetre ranging from 0 to 1000 (default 30).
[in]thresholdDigitalisation threshold in % ranging from 0 to 100 (default 10).
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetPharmacode

◆ CvcBcSetPharmacodeEx()

short CvcBcSetPharmacodeEx ( CVC_BC_CONFIG  config,
BOOL  active,
short  run_direction,
short  min_digits,
short  max_digits,
short  scale_factor,
short  quietzone,
short  pixel_reference,
short  threshold,
BOOL  invers,
short  tolerance,
short  skew 
)

This function sets all parameters for decoding the Pharmacode.

The Pharmacode is different to all other 1D-Barcodes to read. It is impossible to read the Pharmacode omni-directional because you have to know if you have to read the Pharmacode from the left to the right or contrariwise before you read it. So the adjustment CVC_BC_DIRECTION have no effect for the Pharmacode. The Pharmacode have its own direction which you can set with the parameter run_direction.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code (default CVC_BC_OFF).

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]run_directionRun-direction in which the Pharmacode moves in the camera picture. There are four run-directions possible:
CVC_BC_PHARMACODE_RUN_DIRECTION_RIGHT (default run-direction),
CVC_BC_PHARMACODE_RUN_DIRECTION_UP
CVC_BC_PHARMACODE_RUN_DIRECTION_LEFT, or
CVC_BC_PHARMACODE_RUN_DIRECTION_DOWN
[in]min_digitsMinimum number of Pharmacode code words.

The parameters min_digits and max_digits limit the number of code words for the Pharmacode. The parameter min_digits is in the range 2 to 16 (default 4). The parameter max_digits is in the range 2 to 16 (default 16).
[in]max_digitsMaximum number of Pharmacode code words.

The parameters min_digits and max_digits limit the number of code words for the Pharmacode. The parameter min_digits is in the range 2 to 16 (default 4). The parameter max_digits is in the range 2 to 16 (default 16).
[in]scale_factorScale factor of the Pharmacode in %.

Possible values are 50 to 200 (default 100).
100% = standard Pharmacode
66% = miniature Pharmacode
[in]quietzoneMinimal quiet zone in a 10th of a millimetre.

The parameter quietzone set the minimal quiet zone in 1/10 mm. The range is 10 to 200 (default 50).
[in]pixel_referenceIllustration measure of the camera in a 10th of a pixel per millimetre.

The pixel_reference set the illustration measure of the camera in 1/10 pixel per millimetre ranging from 0 to 1000 (default 30).
[in]thresholdDigitalisation threshold in % ranging from 0 to 100 (default 10).
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
[in]toleranceWhen decoding Pharmacodes, CVC Barcode will verify whether the code is printed within predefined geometric tolerances before accepting it. Use the tolerance setting CVC_BC_PHARMACODE_TOLERANCE_EXTENDED setting to perform a more relaxed tolerance test (default: CVC_BC_PHARMACODE_TOLERANCE_STANDARD).
[in]skewDepending on the angle at which the camera looks at the Pharmacode, it might be necessary to tell the software to compensate the image skew using the appropriate CVC_BC_PHARMACODE_SKEW_* setting (default value: CVC_BC_PHARMACODE_SKEW_NONE).
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetPharmacode, CvcBcGetPharmacodeEx

◆ CvcBcSetPlanet()

short CvcBcSetPlanet ( CVC_BC_CONFIG  config,
BOOL  active,
unsigned short  levels,
short  direction,
short  threshold,
BOOL  invers,
BOOL  mirror,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
short  quietzone 
)

This function sets all parameters for decoding the Planet code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]levelsSpecifies the levels for the allowed code types.

The types could be combined with a bitwise OR. The supported types are: CVC_BC_PLANET_62_BARS, CVC_BC_PLANET_72_BARS, and CVC_BC_PLANET_ALL_LEVELS.
[in]directionSpecifies the orientation of the code in the image.

Possible values are:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH (The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees). The option CVC_BC_OMNI is not available.
[in]thresholdThreshold between bar and gap in the code. Values ranges from 10 to 90 (%).
[in]inversCode is inverted (white on black)/not inverted.

The parameter 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 you pass TRUE.
[in]mirrorCode is mirrored/not mirrored.
[in]checkdigitEvaluate/ignore check digit.

The checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]quietzoneQuiet zone in modulwidth. Possible values ranging from 2 to 10. Normally, the value is 5.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING (If one of the values is beyond the interval [ 1 ; 1000 ]).
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetPlanet
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO

◆ CvcBcSetPostnet()

short CvcBcSetPostnet ( CVC_BC_CONFIG  config,
BOOL  active,
unsigned short  levels,
short  direction,
short  threshold,
BOOL  invers,
BOOL  mirror,
BOOL  checkdigit,
BOOL  transmit_checkdigit,
short  quietzone 
)

This function sets all parameters for decoding the Postnet code.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]levelsSpecifies the levels for the allowed code types.

The types could 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.
[in]directionSpecifies the orientation of the code in the image.

Possible values are:
CVC_BC_FENCE, CVC_BC_LADDER, and CVC_BC_BOTH (The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 20 degrees). The option CVC_BC_OMNI is not available.
[in]thresholdThreshold between bar and gap in the code. Values ranges from 10 to 90 (%).
[in]inversCode is inverted (white on black)/not inverted.

The parameter 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 you pass TRUE.
[in]mirrorCode is mirrored/not mirrored.
[in]checkdigitEvaluate/ignore check digit.

The checkdigit parameter activates or deactivates the checking of any check digit which may be present. Specifying TRUE activates checking; specifying FALSE deactivates checking.
[in]transmit_checkdigitAppend/do not append check digit to data.

If necessary, the transmit_checkdigit parameter activates or deactivates transmission of a check digit. Specifying TRUE activates transmission; specifying FALSE deactivates it. If checkdigit = FALSE, this parameter is ignored.
[in]quietzoneQuiet zone in modulwidth. Possible values ranging from 2 to 10. Normally, the value is 5.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING (If one of the values is beyond the interval [ 1 ; 1000 ]).
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetPostnet
Overview 1D barcodes
Information on Postal codes
CVC_BC_INFO

◆ CvcBcSetSonyCode()

short CvcBcSetSonyCode ( CVC_BC_CONFIG  config,
BOOL  active,
short  min_words,
short  max_words,
BOOL  quiet_zone,
BOOL  checksum,
BOOL  transmit_checksum,
BOOL  transmit_start_stop,
BOOL  code_interpretation,
BOOL  invers 
)

This function sets all parameters for decoding the SonyCode.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]min_wordsMinimum number of SonyCode code words.

The parameters min_words and max_words limit the number of code words for the SonyCode. In general, this number is not identical to the number of coded data digits. Start- and Stop digits are not counted.
[in]max_wordsMaximum number of SonyCode code words.

The parameters min_words and max_words limit the number of code words for the SonyCode. In general, this number is not identical to the number of coded data digits. Start- and Stop digits are not counted.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE the presence of quiet zones is checked, if you specify FALSE quiet zones are ignored.
[in]checksumEvaluate/ignore check sum.

The parameter checksum activates and deactivates monitoring for checksum presence. TRUE activates the check and FALSE deactivates it.
[in]transmit_checksumAppend/do not append checksum to data.

The parameter transmit_checksum activates or deactivates checksum transmission if a checksum is present. TRUE activates the transmission and FALSE deactivates it. If checksum = FALSE, the parameter is ignored.
[in]transmit_start_stopTransmit/do not transmit start and stop digit with data.

The parameter transmit_start_stop activates or deactivates the transmission of the start and stop digit with data. TRUE activates the transmission and FALSE deactivates it. The start digit of the SonyCode is (A) and the stop digit is (F).
[in]code_interpretationCheck/ignore full description of SonyCode.

The parameter code_interpretation (= TRUE) interprets the SonyCode following the description. If this translation fails it returns the error level CVC_BC_DATA_FORMAT_ERROR. For (code_interpretation = FALSE) the code is decoded without interpretation. Details see in the Specification of the SonyCode.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Returns
CVC_BC_NO_ERROR on success, otherwise CVC_BC_PARAMETER_WARNING.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetSonyCode
Specification of the SonyCode
SonyCode parameter in info-structure CVC_BC_INFO

◆ CvcBcSetUPCA()

void CvcBcSetUPCA ( CVC_BC_CONFIG  config,
BOOL  active,
BOOL  quiet_zone,
BOOL  appendix2,
BOOL  appendix5,
BOOL  invers 
)

This function sets all parameters for decoding the UPC A.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]appendix22 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the UPC A is read and any add-on code which may be present is ignored.
[in]appendix55 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the UPC A is read and any add-on code which may be present is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetUPCA

◆ CvcBcSetUPCE()

void CvcBcSetUPCE ( CVC_BC_CONFIG  config,
BOOL  active,
BOOL  quiet_zone,
BOOL  appendix2,
BOOL  appendix5,
BOOL  invers 
)

This function sets all parameters for decoding the UPC E.

Parameters
[in]configHandle to the configuration or NULL to use the default configuration.
[in]activeEvaluate / don't evaluate evaluate code.

The parameter active to enables and disables the decoding of the code configuration config. Specifying TRUE enables and FALSE disables decoding.
[in]quiet_zoneCheck/ignore quiet zone.

The parameter quiet_zone activates or deactivates checking for the presence of quiet zones. If you specify TRUE, a check is performed for the presence of quiet zones; if you specify FALSE, no check is performed.
[in]appendix22 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the UPC E is read and any add-on code which may be present is ignored.
[in]appendix55 character add-on code present/not present.

Use the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to TRUE, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to FALSE, then only the UPC E is read and any add-on code which may be present is ignored.
[in]inversCode is inverted (white on black)/not inverted.

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, you pass the value TRUE.
Supported platforms:
Win32
Win64
Related Topics:
CvcBcGetUPCE