Barcode (CVCBarcode.dll) 14.0
Data Types

Data Structures

struct  CVC_BC_INFO
 This structure returns information about a decoded barcode. More...
 

Macros

#define CVC_BC_2OF5INTERLEAVED   CVC_BC_20F5INTERLEAVED
 
More...
 
#define CVC_BC_ALLOW_ALL   1
 
More...
 
#define CVC_BC_BREAK_BY_ERROR   7
 Decoding result: An error occurred. More...
 
#define CVC_BC_COLOR_NOT_CORRECT   6
 Decoding result: Colour bar in the 2DPharmacode failed. More...
 
#define CVC_BC_DENY_ALL   0
 
More...
 
#define CVC_BC_ERROR_DETECTION_FAILED   5
 Decoding result: Error detection is not correct or not possible. More...
 
#define CVC_BC_MAX_CONFIGS   200 /* maximum of configurations can be created */
 
More...
 
#define CVC_BC_MAX_LINE_LENGTH   16384 /* maximum image width and height */
 
More...
 
#define CVC_BC_MAX_NUM_CODECHAR   7090 /* maximum number of character in 2D Barcodes */
 
More...
 
#define CVC_BC_NOTHING_FOUND   1
 Decoding result: No code found. More...
 
#define CVC_BC_OFF   0
 This setting disables code evalulation. More...
 
#define CVC_BC_ON   1
 This setting enables code evalulation. More...
 
#define CVC_BC_SUCCESS   0
 Decoding result: Code is read. More...
 
#define CVC_BC_SYMBOLOGY_ONLY   2
 Decoding result: Code symbology found. More...
 
#define CVC_BC_WRONG_CODE_FORMAT   4
 Decoding result: Wrong code format. More...
 
#define CVC_BC_WRONG_CODE_SIZE   3
 Decoding result: Wrong code size. More...
 

Typedefs

typedef intptr_t CVC_BC_CONFIG
 This data type defines a handle for a configuration (see chapter Configurations). More...
 

Enumerations

enum  CVC_BC_DIRECTION {
  CVC_BC_OMNI , CVC_BC_FENCE , CVC_BC_LADDER , CVC_BC_BOTH ,
  CVC_BC_SMALL_CODES
}
 This data type defines constants for the possible orientations in which a barcode may occur. More...
 
enum  CVC_BC_TYPE {
  CVC_BC_NOREAD , CVC_BC_CODE128 , CVC_BC_CODABAR , CVC_BC_EAN13 ,
  CVC_BC_EAN8 , CVC_BC_UPCA , CVC_BC_UPCE , CVC_BC_PDF417 ,
  CVC_BC_DATAMATRIX , CVC_BC_CODE39 , CVC_BC_CODE93 , CVC_BC_2OF5DISCRETE ,
  CVC_BC_20F5INTERLEAVED , CVC_BC_CODE32 , CVC_BC_PHARMACODE , CVC_BC_2D_PHARMACODE ,
  CVC_BC_SONY_CODE , CVC_BC_RSS , CVC_BC_RESERVED2 , CVC_BC_FOUR_STATE_KIX ,
  CVC_BC_RESERVED4 , CVC_BC_POSTNET , CVC_BC_PLANET , CVC_BC_QR ,
  CVC_BC_FOUR_STATE_ROYAL_MAIL , CVC_BC_FOUR_STATE_AUSTRALIAN , CVC_BC_FOUR_STATE_USPS , CVC_BC_RESERVED5 ,
  CVC_BC_RESERVED6 , CVC_BC_MICRO_PDF417 , CVC_BC_MSI_PLESSEY , CVC_BC_CODE11 ,
  CVC_BC_BC_RESERVED7
}
 This data type defines constants for all barcodes which can be read using this library. More...
 

Detailed Description

Macro Definition Documentation

◆ CVC_BC_2OF5INTERLEAVED

#define CVC_BC_2OF5INTERLEAVED   CVC_BC_20F5INTERLEAVED


◆ CVC_BC_ALLOW_ALL

#define CVC_BC_ALLOW_ALL   1


◆ CVC_BC_BREAK_BY_ERROR

#define CVC_BC_BREAK_BY_ERROR   7

Decoding result: An error occurred.

◆ CVC_BC_COLOR_NOT_CORRECT

#define CVC_BC_COLOR_NOT_CORRECT   6

Decoding result: Colour bar in the 2DPharmacode failed.

◆ CVC_BC_DENY_ALL

#define CVC_BC_DENY_ALL   0


◆ CVC_BC_ERROR_DETECTION_FAILED

#define CVC_BC_ERROR_DETECTION_FAILED   5

Decoding result: Error detection is not correct or not possible.

◆ CVC_BC_MAX_CONFIGS

#define CVC_BC_MAX_CONFIGS   200 /* maximum of configurations can be created */


◆ CVC_BC_MAX_LINE_LENGTH

#define CVC_BC_MAX_LINE_LENGTH   16384 /* maximum image width and height */


◆ CVC_BC_MAX_NUM_CODECHAR

#define CVC_BC_MAX_NUM_CODECHAR   7090 /* maximum number of character in 2D Barcodes */


◆ CVC_BC_NOTHING_FOUND

#define CVC_BC_NOTHING_FOUND   1

Decoding result: No code found.

◆ CVC_BC_OFF

#define CVC_BC_OFF   0

This setting disables code evalulation.

◆ CVC_BC_ON

#define CVC_BC_ON   1

This setting enables code evalulation.

◆ CVC_BC_SUCCESS

#define CVC_BC_SUCCESS   0

Decoding result: Code is read.

◆ CVC_BC_SYMBOLOGY_ONLY

#define CVC_BC_SYMBOLOGY_ONLY   2

Decoding result: Code symbology found.

◆ CVC_BC_WRONG_CODE_FORMAT

#define CVC_BC_WRONG_CODE_FORMAT   4

Decoding result: Wrong code format.

◆ CVC_BC_WRONG_CODE_SIZE

#define CVC_BC_WRONG_CODE_SIZE   3

Decoding result: Wrong code size.

Typedef Documentation

◆ CVC_BC_CONFIG

typedef intptr_t CVC_BC_CONFIG

This data type defines a handle for a configuration (see chapter Configurations).

This type of handle is returned when the CvcBcCreateConfiguration
function is called. In the case of all other functions, such a handle is expected to be passed as a parameter.

Enumeration Type Documentation

◆ CVC_BC_DIRECTION

This data type defines constants for the possible orientations in which a barcode may occur.

Attention
This is only of use for one-dimensional and stacked two-dimensional barcodes (such as PDF 417). Matrix codes, such as Data Matrix, are always read in any orientation. The greater the degree of freedom of the orientation, the slower the evaluation will be.
Enumerator
CVC_BC_OMNI 

The barcode may be present in any orientation (for unidirectional). This also includes vertical and horizontal orientation. However, evaluation is somewhat faster if the orientation of the barcode is already known. Moreover, in the case of long narrow image objects, such as produced by line cameras for example, the specification of CVC_BC_OMNI is problematic. In such cases it is better to specify CVC_BC_FENCE or CVC_BC_LADDER.

CVC_BC_FENCE 

The barcode is expected to occur in horizontal orientation i.e., it consists of vertical lines (and looks like a picket fence).

CVC_BC_LADDER 

The barcode is expected to occur in vertical orientation i.e., it consists of horizontal lines (and looks like a ladder).

CVC_BC_BOTH 

The barcode may be present in either vertical or horizontal orientation, but not in an angle of rotation of 45 degrees.

CVC_BC_SMALL_CODES 

A small barcode is expected. If CVC_BC_DIRECTION is set to CVC_BC_SMALL_CODES the Barcode library don't read dotted Data Matrix codes. To read dotted Data Matrix codes set the CVC_BC_DIRECTION to one of the other adjustments.

◆ CVC_BC_TYPE

This data type defines constants for all barcodes which can be read using this library.

When a barcode is decoded using the function CvcBcDecodeBarcode, one of the column constants is entered in the type element of the structure CVC_BC_INFO. This makes it possible to determine the type of the read barcode if multiple barcodes are active.

Enumerator
CVC_BC_NOREAD 


CVC_BC_CODE128 


CVC_BC_CODABAR 


CVC_BC_EAN13 


CVC_BC_EAN8 


CVC_BC_UPCA 


CVC_BC_UPCE 


CVC_BC_PDF417 


CVC_BC_DATAMATRIX 


CVC_BC_CODE39 


CVC_BC_CODE93 


CVC_BC_2OF5DISCRETE 


CVC_BC_20F5INTERLEAVED 


CVC_BC_CODE32 


CVC_BC_PHARMACODE 


CVC_BC_2D_PHARMACODE 


CVC_BC_SONY_CODE 


CVC_BC_RSS 


CVC_BC_RESERVED2 


CVC_BC_FOUR_STATE_KIX 


CVC_BC_RESERVED4 


CVC_BC_POSTNET 


CVC_BC_PLANET 


CVC_BC_QR 


CVC_BC_FOUR_STATE_ROYAL_MAIL 


CVC_BC_FOUR_STATE_AUSTRALIAN 


CVC_BC_FOUR_STATE_USPS 


CVC_BC_RESERVED5 


CVC_BC_RESERVED6 


CVC_BC_MICRO_PDF417 


CVC_BC_MSI_PLESSEY 


CVC_BC_CODE11 


CVC_BC_BC_RESERVED7