Enables or disables a particular decodeer.
BarcodeScanner objects
Integer scanner.EnableDecoder ( decoderID, fState )
Argument |
Description |
---|---|
scanner |
The scanner object for which you want to enable or disable a decoder |
decoderID |
Integer value of the decoder you want to enable or disable |
fState |
Boolean value that determines whether to enable or disable the decoder |
Integer. Returns 1 for success or one of the following negative values if an error occurs:
The following example enables the decoder with a decoder ID of 49:
li_rtn = l_scanner.EnableDecoder(49, true)
The decoder ID of 49 corresponds to the decoder for UPCE1 type bar codes.