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

MinSeparation defines the minimum distance between barcodes of identical value and vertical alignment in pixels. If the distance between two barcodes of same value and on the same alignment is less than MinSeparation then the toolkit assumes that it is a single barcode that has been split into 2 parts by a problem in the scanning process.

Default value = 180

Visual Basic using the OCX

[form.]SoftekBarcode.MinSeparation = value

Visual Basic using the DLL

Private Declare Function stGetMinSeparation Lib "SoftekBarcode" () As Integer
Private Declare Function stSetMinSeparation Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetMinSeparation (value)
value = stGetMinSeparation () 

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetMinSeparation Lib "SoftekBarcode" () As Short
Private Declare Function stSetMinSeparation Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetMinSeparation (value)
value = stGetMinSeparation () 

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetMinSeparation(value)
value = barcode.GetMinSeparation()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

short GetMinSeparation() ;
void SetMinSeparation(short value);

Visual C++ Using the DLL

short __stdcall stGetMinSeparation();
short __stdcall stSetMinSeparation(short nNewValue);