ImageGear for C and C++ on Windows v19.10 - Updated
IG_ISIS_TAG_BAR_TYPE
API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Barcode Detection Tags > IG_ISIS_TAG_BAR_TYPE

Type of barcode to search. 0x069C 1692

IG_ISIS_TAG_BAR_TYPE specifies the type or types or barcodes to search for on a page.

Type:

IG_ISIS_TAG_TYPE_LONG

Drivers:

Drivers for scanners that support barcode detection.

Values:

These are all the possible values for IG_ISIS_TAG_BAR_TYPE, but the actual barcode types that can be detected will depend on your scanner. Use IG_ISIS_choice_get_long on IG_ISIS_TAG_BAR_TYPE to query the barcode types available on your scanner.

Value Defined Constant Barcode Type
0 IG_ISIS_BAR_TYPE_NONE No barcode.
1 IG_ISIS_BAR_TYPE_EAN8 Type EAN-8.
2 IG_ISIS_BAR_TYPE_EAN13 Type EAN-13.
3 IG_ISIS_BAR_TYPE_CODE39 Type CODE 39
4 IG_ISIS_BAR_TYPE_CODE25_INTERLEAVED CODE 2/5 interleaved.
5 IG_ISIS_BAR_TYPE_CODE25_MATRIX CODE 2/5 3 lines (matrix).
6 IG_ISIS_BAR_TYPE_CODE25_DATALOGIC CODE 2/5 3 lines (datalogic).
7 IG_ISIS_BAR_TYPE_CODE25_INDUSTRIAL CODE 2/5 5 lines (industrial).
8 IG_ISIS_BAR_TYPE_PATCHCODE Patch Code Type II, III or Transfer.
9 IG_ISIS_BAR_TYPE_PATCHCODE_II Patch Code Type II.
10 IG_ISIS_BAR_TYPE_PATCHCODE_III Patch Code Type III.
11 IG_ISIS_BAR_TYPE_PATCH_TRANSFER Transfer Patch Code
12 IG_ISIS_BAR_TYPE_CODABAR Codabar barcode.
13 IG_ISIS_BAR_TYPE_UPC_E UPC code revision E.
14 IG_ISIS_BAR_TYPE_CODE93 Type CODE 93.
15 IG_ISIS_BAR_TYPE_128 Type 128.
16 IG_ISIS_BAR_TYPE_POSTNET Postnet.
17 IG_ISIS_BAR_TYPE_CODE25_AIRLINE CODE 2/5 (airline).
18 IG_ISIS_BAR_TYPE_UPC_A UPC code revision A.
19 IG_ISIS_BAR_TYPE_MICR_E13B Check MICR E13B type.
20 IG_ISIS_BAR_TYPE_MICR_CMC7 Check MICR CMC7 type.
21 IG_ISIS_BAR_TYPE_ADDON2 ADDON2.
22 IG_ISIS_BAR_TYPE_ADDON5 ADDON5.
23 IG_ISIS_BAR_TYPE_AUTO Auto detect any available barcode.

Remarks:

IG_ISIS_TAG_BAR_TYPE is an indexed tag. It contains a list of one or more values accessible through an index. Use IG_ISIS_TAG_BAR_TYPECOUNT to specify the number of barcode types you wish to search for from the list in IG_ISIS_TAG_BAR_TYPE.

Example:

The following example shows how to tell the scanner to search for CODE 39 and Codabar barcodes:

 
Copy Code
/* set CODE 39 and Codabar to be indices for IG_ISIS_TAG_BAR_TYPE */IG_ISIS_tag_set_long(hScanner, IG_ISIS_TAG_BAR_TYPE, 0, IG_ISIS_BAR_TYPE_CODE39);IG_ISIS_tag_set_long(hScanner, IG_ISIS_TAG_BAR_TYPE, 1, IG_ISIS_BAR_TYPE_CODABAR);
/* set the number of barcode types to search to two */IG_ISIS_tag_set_long(hScanner, IG_ISIS_TAG_BAR_TYPECOUNT , 0, 2);

See Also

IG_ISIS_TAG_BAR_TYPECOUNT