MinLength
Overview
MinLength defines the smallest length for a barcode string, including checksum characters.
Default value = 2
Visual Basic using the OCX
[form.]SoftekBarcode.MinLength = value
Visual Basic using the DLL
Private Declare Function stGetMinLength Lib "SoftekBarcode" () As Short
Private Declare Function stSetMinLength Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetMinLength (value)
value = stGetMinLength ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.MinLength = value
value = oBar.MinLength
VB.Net using the DLL
Private Declare Function stGetMinLength Lib "SoftekBarcode" () As Short
Private Declare Function stSetMinLength Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetMinLength (value)
value = stGetMinLength ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetMinLength(value)
value = barcode.GetMinLength()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.MinLength = value
value = barcode.MinLength
Visual C++ Using the OCX
short GetMinLength();
void SetMinLength(short value) ;
Visual C++ Using the DLL
short __stdcall stGetMinLength();
short __stdcall stSetMinLength(short newValue); |