Methods
The way in which you will be able to use the methods of the toolkit depends on the interface and the programming language used.
Active X Control (OCX) with Visual Basic and VB.Net
retval = ObjectName.MethodName(args)
Example:
nBarcodes = SoftekBarcode1.ScanBarCode("C:\tmp\file.tif")
Active X Control (OCX) with Visual C++
retval = ObjectName.MethodName(args)
Example:
nBarcodes = SoftekBarcode1.ScanBarCode("C:\\tmp\\file.tif")
SoftekBarcode Class with VB.Net
retval = ObjectName.MethodName(args)
Example:
Dim barcode As SoftekBarcode
......
nBarcode = barcode.ScanBarCode("C:\tmp\file.tif")
DLL with Visual Basic, VB.Net, Visual C++ etc
Prefix the method names with "st":
stMethodName (args)
Examples:
nBarcode = stScanBarCode("C:\tmp\file.tif")
COM Interface with Visual Basic etc
retval = ObjectName.MethodName()
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.ScanBarCode("C:\tmp\file.tif")
nBarcode = oBar.BarCodeCount
|