Retrieves the list of enabled decoders.
BarcodeScanner objects
Integer scanner.GetEnabledDecoders ( intDecoders [ ] )
Argument |
Description |
---|---|
scanner |
The scanner object that is associated with the scanner for which you want to obtain a list of enabled decoders |
intDecoders [ ] |
Array of integers that correspond to the decoder IDs of the enabled decoders |
Integer. Returns 1 for success or one of the following negative values if an error occurs:
The enabled decoders are a subset of supported decoders. Decoders must be enabled for use in a scanning operation.
The following example places the IDs of all the enabled decoders in an array:
integer li_rtn, li_firstID, li_secondID, l_IDs[ ]
li_rtn = l_scanner.GetEnabledDecoders(l_IDs)
li_firstID = l_IDs[1]
li_secondID = l_IDs[2]