ScanAbort
Description
Aborts any outstanding
scan requests.

Applies to
BarcodeScanner objects
Syntax
Integer scanner.ScanAbort (  )
Argument 
 | 
Description 
 | 
scanner 
 | 
The scanner object for which you abort
a scan 
 | 
Returns
Integer. Returns 1 for success or one of the following negative
values if an error occurs:
-1   Unspecified error
 
-2   Supporting DLL not loaded error
 
-3   Initialization error other than DLL not loaded
 
-4   Error in the passed in arguments 
 
-5   Something in the object instance is inconsistent
 
-6   Call to the driver failed
 
-7   Error opening the specific scan device
 
-8   Error in the internal buffer allocation
 
-10   Low level device error
 
-100   Feature not implemented
 
Examples
Example 1
The following example aborts the scan operation for
the l_scanner bar code scanner:
li_rtn = l_scanner.ScanAbort()
See also