ReadUPCA
Overview
When set to TRUE the toolkit will search for UPC-A type barcodes.
Default value = FALSE
Visual Basic using the OCX
[form.]SoftekBarcode.ReadUPCA = value
Visual Basic using the DLL
Private Declare Function stGetReadUPCA Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadUPCA Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadUPCA (value)
value = stGetReadUPCA ()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.ReadUPCA = value
value = oBar.ReadUPCA
VB.Net using the DLL
Private Declare Function stGetReadUPCA Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadUPCA Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadUPCA (value)
value = stGetReadUPCA ()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetReadUPCA(value)
value = barcode.GetReadUPCA()
VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.ReadUPCA = value
value = barcode.ReadUPCA
Visual C++ Using the OCX
BOOL GetReadUPCA() ;
void SetReadUPCA(BOOL value);
Visual C++ Using the DLL
BOOL __stdcall stGetReadUPCA();
BOOL __stdcall stSetReadUPCA(BOOL bNewValue); |