Enumerations
Enumerations

Enumerations

enum  TxCVC_BC_DIRECTION {
  CVC_BC_OMNI = 0, CVC_BC_FENCE = 1, CVC_BC_LADDER = 2, CVC_BC_BOTH = 3,
  CVC_BC_SMALL_CODES = 4
}
 This data type defines constants for the possible orientations in which a barcode may occur. More...
 
enum  TxCVC_BC_DM_EX_TYPES { CVC_BC_DM_EX_DATAMATRIX = 0, CVC_BC_DM_EX_2D_PHARMACODE = 1, CVC_BC_DM_EX_DOTTED_DATAMATRIX = 2 }
 Expanded Data Matrix symbologies (Data Matrix, 2-D Pharmacode and dotted Data Matrix). More...
 
enum  TxCVC_BC_DM_FORMATS {
  CVC_BC_DM_BASE11 = 1, CVC_BC_DM_BASE27 = 2, CVC_BC_DM_BASE37 = 4, CVC_BC_DM_BASE41 = 8,
  CVC_BC_DM_ASCII = 16, CVC_BC_DM_BINARY = 32, CVC_BC_DM_ALL_LEVELS = 32767
}
 Bitfield types possibly used for storing data in in the data matrix formats. More...
 
enum  TxCVC_BC_DM_TYPES {
  CVC_BC_DM_DISABLE = 0, CVC_BC_DM_ECC0 = 1, CVC_BC_DM_ECC50 = 2, CVC_BC_DM_ECC80 = 4,
  CVC_BC_DM_ECC100 = 8, CVC_BC_DM_ECC140 = 16, CVC_BC_DM_ECC200 = 32, CVC_BC_DM_ALL_LEVELS = 32767
}
 The different available error correction levels available for DataMatrix codes. Individual error levels can be specified by ORing the following constants in any order. More...
 
enum  TxCVC_BC_ERROR {
  CVC_BC_ERR_NO_ERROR = 0, CVC_BC_ERR_NO_MEMORY = 4294967295, CVC_BC_ERR_PARAMETER_ERROR = 4294967294, CVC_BC_ERR_PARAMETER_WARNING = 4294967293,
  CVC_BC_ERR_NO_DONGLE = 4294967292, CVC_BC_ERR_INVALID_LICENSE_NUMBER = 4294967291, CVC_BC_ERR_WRONG_LICENSE_NUMBER = 4294967290, CVC_BC_ERR_FILE_NOT_FOUND = 4294967289,
  CVC_BC_ERR_FILE_NOT_WRITABLE = 4294967288, CVC_BC_ERR_NOT_INITIALIZED = 4294967287, CVC_BC_ERR_NO_VALID_IMAGE = 4294967286, CVC_BC_ERR_NOT_8BIT = 4294967285,
  CVC_BC_ERR_INVALID_PLANE = 4294967284, CVC_BC_ERR_INVALID_RECT = 4294967283, CVC_BC_ERR_GENERIC_ERROR = 4294967169
}
 Error code which can occur. More...
 
enum  TxCVC_BC_PDF417_LEVELS {
  CVC_BC_PDF417_DISABLE = 0, CVC_BC_PDF417_LEVEL0 = 1, CVC_BC_PDF417_LEVEL1 = 2, CVC_BC_PDF417_LEVEL2 = 4,
  CVC_BC_PDF417_LEVEL3 = 8, CVC_BC_PDF417_LEVEL4 = 16, CVC_BC_PDF417_LEVEL5 = 32, CVC_BC_PDF417_LEVEL6 = 64,
  CVC_BC_PDF417_LEVEL7 = 128, CVC_BC_PDF417_LEVEL8 = 256, CVC_BC_PDF417_ALL_LEVELS = 32767
}
 Type of error correction level for PDF 417 barcodes. More...
 
enum  TxCVC_BC_TYPE {
  CVC_BC_NOREAD = 0, CVC_BC_CODE128 = 1, CVC_BC_CODABAR = 2, CVC_BC_EAN13 = 3,
  CVC_BC_EAN8 = 4, CVC_BC_UPCA = 5, CVC_BC_UPCE = 6, CVC_BC_PDF417 = 7,
  CVC_BC_DATAMATRIX = 8, CVC_BC_CODE39 = 9, CVC_BC_CODE93 = 10, CVC_BC_2OF5DISCRETE = 11,
  CVC_BC_2OF5INTERLEAVED = 12, CVC_BC_CODE32 = 13, CVC_BC_PHARMACODE = 14, CVC_BC_2D_PHARMACODE = 15,
  CVC_BC_SONY_CODE = 16
}
 Type of barcode found. More...
 

Detailed Description

Enumeration Type Documentation

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

Related Topics:
DecodeDirection Property
Enumerator:
CVC_BC_OMNI 

The barcode may be present in any orientation.
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 TxCVC_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 TxCVC_BC_DIRECTION to one of the other adjustments.

Expanded Data Matrix symbologies (Data Matrix, 2-D Pharmacode and dotted Data Matrix).

Related Topics:
DataMatrixExTypes Property
TeachDottedMatrix Method
Enumerator:
CVC_BC_DM_EX_DATAMATRIX 

The normal Data Matrix code will be read as usual. The remain Data Matrix parameters have no consequence for reading the code.

CVC_BC_DM_EX_2D_PHARMACODE 

A 2-D Pharmacode will be expect. The colour bars around the code will be proved. If CVC_BC_DM_EX_2D_PHARMACODE is selected the properties DataMatrixBar1 to DataMatrixBar8, DataMatrixThreshold and DataMatrixExpanded have to be set correctly. The 2-D Pharmacode is a own type and will be issue as the type CVC_BC_2D_PHARMACODE in the result.

CVC_BC_DM_EX_DOTTED_DATAMATRIX 

A dotted Data Matrix code can be read. If CVC_BC_DM_EX_DOTTED_DATAMATRIX is selected the properties DataMatrixContrastMin, DataMatrixModulwidth, and DataMatrixQuietzone have to be set correctly.

Remark:
If the property DecodeDirection is CVC_BC_SMALL_CODES the Barcode library don't read dotted Data Matrix codes. To read dotted Data Matrix codes set the DecodeDirection to one of the other adjustments.

Bitfield types possibly used for storing data in in the data matrix formats.

Related Topics:
DataMatrixFormats Property
Enumerator:
CVC_BC_DM_BASE11 

CVC_BC_DM_BASE27 

CVC_BC_DM_BASE37 

CVC_BC_DM_BASE41 

CVC_BC_DM_ASCII 

CVC_BC_DM_BINARY 

CVC_BC_DM_ALL_LEVELS 

All error correction levels.

All formats are permitted.

The different available error correction levels available for DataMatrix codes. Individual error levels can be specified by ORing the following constants in any order.

Related Topics:
DataMatrixTypes Property
Enumerator:
CVC_BC_DM_DISABLE 

No error correction enabled.

CVC_BC_DM_ECC0 

CVC_BC_DM_ECC50 

CVC_BC_DM_ECC80 

CVC_BC_DM_ECC100 

CVC_BC_DM_ECC140 

CVC_BC_DM_ECC200 

CVC_BC_DM_ALL_LEVELS 

All error correction levels.

All formats are permitted.

Error code which can occur.

Attention
The value of DataMatrixFormats has no influence on type ECC 200.
Related Topics:
OnError Event
BarcodeErrorReason Property
Enumerator:
CVC_BC_ERR_NO_ERROR 

No error.

CVC_BC_ERR_NO_MEMORY 

Not enough memory.

CVC_BC_ERR_PARAMETER_ERROR 

Erroneous parameters in the parameter list.

CVC_BC_ERR_PARAMETER_WARNING 

No error occurred, but a unusual situation has been encountered whilst reading a bar or matrix code.

CVC_BC_ERR_NO_DONGLE 

No CVB Dongle detected.

CVC_BC_ERR_INVALID_LICENSE_NUMBER 

Invalid CVB Barcode license number.

CVC_BC_ERR_WRONG_LICENSE_NUMBER 

Wrong CVB Barcode license number.

CVC_BC_ERR_FILE_NOT_FOUND 

File could not be read (for LoadConfiguration).

CVC_BC_ERR_FILE_NOT_WRITABLE 

File could not be created (for SaveConfiguration).

CVC_BC_ERR_NOT_INITIALIZED 

The barcode function has not been initialised.

CVC_BC_ERR_NO_VALID_IMAGE 

The values in the Image property are not valid for an image object.

CVC_BC_ERR_NOT_8BIT 

The image data does not have a depth of 8 bits.

CVC_BC_ERR_INVALID_PLANE 

The specified PlaneIndex does not exist in the image object.

CVC_BC_ERR_INVALID_RECT 

The specified boundary rectangle is not valid.

CVC_BC_ERR_GENERIC_ERROR 

Undefined error.

Type of error correction level for PDF 417 barcodes.

Individual error levels can be specified by ORing the following constants in any order.

Related Topics:
DataMatrixTypes Property
Enumerator:
CVC_BC_PDF417_DISABLE 

No error correction enabled.

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL0 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL1 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL2 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL3 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL4 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL5 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL6 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL7 

Attention
This constant is read only!
CVC_BC_PDF417_LEVEL8 

Attention
This constant is read only!
CVC_BC_PDF417_ALL_LEVELS 

Permits all error correction levels.

Attention
This constant is read only!

Type of barcode found.

Attention
These values are read only except of CVC_BC_2D_PHARMACODE and CVC_BC_SONY_CODE;
Related Topics:
BarcodeType Property
Enumerator:
CVC_BC_NOREAD 

No barcode found.

CVC_BC_CODE128 

Code 128.
1-D barcode used in industry. The character set consists of full ASCII inclusive non-printable characters. The length is variable; the checksum is modulo 103.

CVC_BC_CODABAR 

Codabar.
1-D barcode used in industry and blood database. The character set consists of full numerical with special characters. The length is variable; the checksum is modulo 16.

CVC_BC_EAN13 

EAN 13.
1-D barcode used in retail Europe. The character set consists of numerical code. The length is 13; the checksum is modulo 10.

CVC_BC_EAN8 

EAN 8.
1-D barcode used in retail Europe. The character set consists of numerical code. The length is 8; the checksum is modulo 10.

CVC_BC_UPCA 

UPC A.
1-D barcode used in retail USA/Canada. The character set consists of numerical characters. The length is 12; the checksum is modulo 10.

CVC_BC_UPCE 

UPC E.
1-D barcode used in retail USA/Canada. The character set consists of numerical characters. The length is 8; the checksum is modulo 10.

CVC_BC_PDF417 

PDF 417.
Stacked 1-D barcode.

  • 3-90 rows with 1-30 data digits plus 4 control digits.
  • Typical height-to-width ratios: 1:1 to 1:4.
  • 2500 digits, 1600 alphanumerical characters or 950 bytes of binary data.
CVC_BC_DATAMATRIX 

Data Matrix.
Matrix code.

  • Quadratic symbol.
  • Quadratic module in quadratic grid.
  • Lateral L as search pattern.
  • 9*9 to 49*49 modules (ECC 000 - 140),
    10*10 to 144*144 modules (ECC 200)
  • Up to 3114 numerical characters, 2335 text characters or 1556 bytes.
  • Sequencing up to 16 codes possible.
CVC_BC_CODE39 

Code 39.
1-D barcode used in industry. The character set consists of alphanumerical characters. The length is variable; the checksum is modulo 43.

CVC_BC_CODE93 

Code 93.
1-D barcode. The character set consists of ASCII characters inclusive space. The length is variable; the checksum is modulo 47.

CVC_BC_2OF5DISCRETE 

2 of 5 Discrete.
1-D barcode.

CVC_BC_2OF5INTERLEAVED 

2 of 5 Interleaved.
1-D barcode used in industry. The character set consists of numerical characters. The length is variable; the checksum is modulo 10.

CVC_BC_CODE32 

Code 32.
1-D barcode used in pharmaceutical area. The character set consists of numerical characters.

CVC_BC_PHARMACODE 

Pharmacode.
1-D barcode. The character set consists of numerical characters.

CVC_BC_2D_PHARMACODE 

2-D Pharmacode.
2-D barcode. The character set consists of numerical characters.

CVC_BC_SONY_CODE 

SonyCode.
1-D barcode. The character set consists of alphanumerical characters.