Overview
When UseOverSampling is TRUE the barcode reader samples 3 lines at a time (skipping 2 lines between each sample) and takes the average pixel value. This is useful for images containing both black and white speckles.
Default value = FALSE
Visual Basic using the OCX
[form.]SoftekBarcode.UseOverSampling= value
Visual Basic using the DLL
Private Declare Function stGetUseOverSampling Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetUseOverSampling Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetUseOverSampling (value)
value = stGetUseOverSampling ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.UseOverSampling = value
value = oBar.UseOverSampling
VB.Net using the DLL
Private Declare Function stGetUseOverSampling Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetUseOverSampling Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetUseOverSampling (value)
value = stGetUseOverSampling ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetUseOverSampling(value)
value = barcode.GetUseOverSampling()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.UseOverSampling = value
value = barcode.UseOverSampling
Visual C++ Using the OCX
BOOL GetUseOverSampling();
void SetUseOverSampling(BOOL value) ;
Visual C++ Using the DLL
BOOL __stdcall stGetUseOverSampling();
BOOL __stdcall stSetUseOverSampling(BOOL newValue);



