Softek Software Barcode Reading Toolkits
HOME PRODUCTS DEVELOPERS STORE ABOUT US
Developer Home
Downloads
Sample Code
Support

Help -> Properties -> Overview

The Softek Barcode Reader SDK extracts barcode information from images and bitmaps.

Overview

If the NoiseReduction property is none zero then the ScanBarCode method will run an image through a noise reduction filter before scanning for barcodes . The filter removes marks from an image that are unlikely to be part of a barcode. A larger value for NoiseReduction will remove larger marks from the image. This increases the chances of finding a barcode in a poor quality image but also increases the time taken to process an image. A typical value for NoiseReduction is 10.  

Default value =    0

Visual Basic using the OCX

[form.]SoftekBarcode.NoiseReduction = value

Visual Basic using the DLL

Private Declare Function stGetNoiseReduction Lib "SoftekBarcode" () As Integer
Private Declare Function stSetNoiseReduction Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetNoiseReduction (value)
value = stGetNoiseReduction () 

Visual Basic using COM

oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.NoiseReduction = value
value = oBar.NoiseReduction

VB.Net using the DLL

Private Declare Function stGetNoiseReduction Lib "SoftekBarcode" () As Short
Private Declare Function stSetNoiseReduction Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetNoiseReduction (value)
value = stGetNoiseReduction () 

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetNoiseReduction(value)
value = barcode.GetNoiseReduction()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.NoiseReduction = value
value = barcode.NoiseReduction

Visual C++ Using the OCX

BOOL GetNoiseReduction() ;
void SetNoiseReduction(short value);

Visual C++ Using the DLL

short __stdcall stGetNoiseReduction();
short __stdcall stSetNoiseReduction(short nNewValue);