
34
Class Reference
pos.tL = (decode.bounds[1].x, decode.bounds[1].y)
//The x and y coordinates of the bottom left corner of the barcode
in the image:
pos.bL = (decode.bounds[2].x, decode.bounds[2].y)
//The x and y coordinates of the bottom right corner of the
barcode in the image:
pos.bR = (decode.bounds[3].x, decode.bounds[3].y)
4.1.1.16
numExtraFields
This property is for internal use only.
4.1.1.17
decoderType
The
decode.decoderType
property is a read only property that gives information about
the decoder that was used to capture data from the last barcode decode process. This
property is only relevant if a 3
rd
party decoder has been implemented.
A
decode.decoderType
value of 1 indicates that the decoder decoded the last barcode.
A value of 0 indicates that the decoder is unknown. Other values may be introduced at any
time.
4.1.1.18
aimSymbology
The
decode.aimSymbology
property is a read only property that gives the first character
of the AIM (Automatic Identification and Mobility) symbology determined by the decode
engine of the barcode that was just decoded. More information on AIM Standards can be
found at the Association for Automatic Identification & Mobility web site:
http://www.aimglobal.org/
The following example illustrates a translation from the AIM standard to a different system
used in-house by a customer:
var newSymbol;
aimSymbol = String.fromCharCode(decode.aimSymbology);
switch( aimSymbol )
{
case "E":
newSymbol = "A";
break;
case "A":
newSymbol = "B";
break;
case "F":
newSymbol = "C";
break;