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

Help -> Properties -> TheSoftekBarcodeReaderSDKextractsbarcodeinformationfromimagesand

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

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

MinSpaceBarWidth

Overview

MinSpaceBarWidth is the minimum acceptable size for a space between the bars in a barcode. When set to a value of 0 the toolkit will automatically select the best value. Spaces that are smaller than the value used are ignored. 

Default value =  0

Visual Basic using the OCX

[form.]SoftekBarcode.MinSpaceBarWidth = value

Visual Basic using the DLL

Private Declare Function stGetMinSpaceBarWidth Lib "SoftekBarcode" () As Integer
Private Declare Function stSetMinSpaceBarWidth Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetMinSpaceBarWidth (value)
value = stGetMinSpaceBarWidth () 

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetMinSpaceBarWidth Lib "SoftekBarcode" () As Short
Private Declare Function stSetMinSpaceBarWidth Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetMinSpaceBarWidth (value)
value = stGetMinSpaceBarWidth () 

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetMinSpaceBarWidth(value)
value = barcode.GetMinSpaceBarWidth()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

short GetMinSpaceBarWidth() ;
void SetMinSpaceBarWidth(short value);

Visual C++ Using the DLL

short __stdcall stGetMinSpaceBarWidth();
short __stdcall stSetMinSpaceBarWidth(short nNewValue);