Softek Software Barcode Reading Toolkits
HOME PRODUCTS DEVELOPERS STORE ABOUT US
Developer Home
Downloads
Sample Code
Support

Help -> Methods -> Overview

The Softek Barcode Reader SDK extracts barcode information from images and bitmaps.

Overview

GetBarString(n) 
barstring(n) (COM Object only)

GetBarString retrieves a barcode string that has been detected by the ScanBarCode method.

n is the index to the barcode string to be retrieved and is indexed from 1.

The following strings can be returned for patch codes - "Type I", "Type II", "Type III", "Type IV", "Type VI" and "Type T".

Visual Basic using the OCX

[form.]SoftekBarcode.GetBarString (n)

Visual Basic using the DLL

Private Declare Function stGetBarString Lib "SoftekBarcode" (ByVal nBarCode As Integer) As String
barcode = stGetBarString(n)

Visual Basic using COM

oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.barstring(n)

VB.Net using the DLL

Private Declare Function stGetBarString Lib "SoftekBarcode" (ByVal nBarCode As Short) As String
barcode = stGetBarString(n)

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.GetBarString(n)

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.GetBarString(n)

Visual C++ Using the OCX

BSTR GetBarString (short n)

Visual C++ Using the DLL

LPCSTR __stdcall stGetBarString(short index);