ReadNumeric
Overview
When True the toolkit will only report numeric barcodes. Note that this the same as setting the Pattern property to the value "^[0-9]+$".
Default Value: False
Visual Basic using the OCX
[form.]SoftekBarcode.ReadNumeric = value
Visual Basic using the DLL
Private Declare Function stGetReadNumeric Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadNumeric Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadNumeric (value)
value = stGetReadNumeric ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.ReadNumeric = value
value = oBar.ReadNumeric
VB.Net using the DLL
Private Declare Function stGetReadNumeric Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadNumeric Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadNumeric (value)
value = stGetReadNumeric ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetReadNumeric(value)
value = barcode.GetReadNumeric()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.ReadNumeric = value
value = barcode.ReadNumeric
Visual C++ Using the OCX
BOOL GetReadNumeric() ;
void SetReadNumeric(BOOL value);
Visual C++ Using the DLL
BOOL __stdcall stGetReadNumeric();
BOOL __stdcall stSetReadNumeric(BOOL bNewValue); |