MinSpaceBarWidth
Overview
MinSpaceBarWidth is the minimum acceptable size for a space between the bars in a barcode. Anything smaller than this value will be ignored.
Default value = 1
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); |