MultipleRead
Overview
Normally the OCX stops at the first positive match for a barcode. When MultipleRead is TRUE the OCX will check the entire image for barcode strings and record each positive match.
Default value = FALSE
Visual Basic using the OCX
[form.]SoftekBarcode.MultipleRead = value
Visual Basic using the DLL
Private Declare Function stGetMultipleRead Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetMultipleRead Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetMultipleRead (value)
value = stGetMultipleRead ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.MultipleRead = value
value = oBar.MultipleRead
VB.Net using the DLL
Private Declare Function stGetMultipleRead Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetMultipleRead Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetMultipleRead (value)
value = stGetMultipleRead ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetMultipleRead(value)
value = barcode.GetMultipleRead()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.MultipleRead = value
value = barcode.MultipleRead
Visual C++ Using the OCX
BOOL GetMultipleRead() ;
void SetMultipleRead (BOOL value)
Visual C++ Using the DLL
BOOL __stdcall stGetMultipleRead();
BOOL __stdcall stSetMultipleRead(BOOL bNewValue); |