CodeType Property

Applies To
Vision Objects: CodeReader

Description
Sets / returns which type of bar codes or matrix codes to search for with the CodeReader object.

Usage

VGet  Sequence.Object.CodeType, var
VSet  Sequence.Object.CodeType, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
var
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

Setting value Vision constants Remarks
Auto VISION_CODETYPE_AUTO Automatic code detection
DataMatrix VISION_CODETYPE_DATAMATRIX 2D code
Codabar VISION_CODETYPE_CODABAR
Code39 VISION_CODETYPE_CODE39
Code128 VISION_CODETYPE_CODE128
EAN 8 VISION_CODETYPE_EAN8
EAN 13 VISION_CODETYPE_EAN13
Interleaved 2 of 5 VISION_CODETYPE_INTERLEAVED25 Also called ITF
PDF417 VISION_CODETYPE_PDF417 2D code
QR VISION_CODETYPE_QR 2D code
UPC VISION_CODETYPE_UPC
UPC A VISION_CODETYPE_UPCA
UPC E VISION_CODETYPE_UPCE

Default: Auto

Remarks
CodeType specifies the type of bar codes (one- or two-dimensional) to be searched for by the CodeReader object. CodeType is set to “Auto” as default, and the code types are detected automatically.

See Also
CodeReader Object, Found Result, FoundCodeType Result