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

X offset of the detected barcode. 0x06C3  1731

IG_ISIS_TAG_BARDATA_XPOSITION holds the x offset of the detected barcode measured in units of the current resolution.

Type:

IG_ISIS_TAG_TYPE_LONG

Drivers:

Drivers for scanners that support barcode detection.

Values:

An integer indicating the x offset.

Remarks:

IG_ISIS_TAG_BARDATA_XPOSITION holds the horizontal offset value from the upper left corner of the page to the upper left corner of the barcode. The value is in units of the current resolution. If no barcode was found, then the value of IG_ISIS_TAG_BARDATA_XPOSITION has no meaning and should be ignored. You should verify that IG_ISIS_TAG_BARDATA_TYPE has a value other than 0 before querying IG_ISIS_TAG_BARDATA_XPOSITION.

Prior to checking the value of IG_ISIS_TAG_BARDATA_XPOSITION and other IG_ISIS_TAG_BARDATA tags, you should make sure that your application received a IG_ISIS_ERR_ENDZONE return code or that the IG_ISIS_run_zone call completed without error.

See Also

IG_ISIS_TAG_BARDATA_TYPE

IG_ISIS_TAG_BARDATA_YPOSITION

IG_ISIS_TAG_BARDATA_TEXT