Retrieves the list of supported decoders.
BarcodeScanner objects
Integer scanner.GetSupportedDecoders ( 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 supported decoders |
Integer. Returns 1 for success or one of the following negative values if an error occurs:
The supported decoders are defined by the firmware of the scanner device. The subset of decoders to use for a scanning operation can be obtained by a GetEnabledDecoders function call.
The following example places the IDs of supported decoders in an array:
integer li_rtn, li_firstID, li_secondID, l_IDs[ ]
li_rtn = l_scanner.GetSupportedDecoders(l_IDs)
li_firstID = l_IDs[1]
li_secondID = l_IDs[2]