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

When the toolkit checks for a barcode on a scan line in an image, it ignores those parts of the line that are not preceded by the number of white pixels specified by QuietZoneSize.  

Default value = 10% of image resolution (i.e. 10 pixels in a 100dpi image) 

Visual Basic using the OCX

[form.]SoftekBarcode.QuietZoneSize = value

Visual Basic using the DLL

Private Declare Function stGetQuietZoneSize Lib "SoftekBarcode" () As Integer
Private Declare Function stSetQuietZoneSize Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetQuietZoneSize (value)
value = stGetQuietZoneSize () 

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetQuietZoneSize Lib "SoftekBarcode" () As Short
Private Declare Function stSetQuietZoneSize Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetQuietZoneSize (value)
value = stGetQuietZoneSize ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetQuietZoneSize(value)
value = barcode.GetQuietZoneSize()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.QuietZoneSize = value
value = barcode.QuietZoneSize

Visual C++ Using the OCX

short GetQuietZoneSize () ;
void SetQuietZoneSize (short value) ;

Visual C++ Using the DLL

short __stdcall stGetQuietZoneSize();
short __stdcall stSetQuietZoneSize(short nNewValue);