bardecode.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation ReadDatabar - read GS1 databar barcodes

ReadDatabar - read GS1 databar barcodes

Overview

 

When set to TRUE the toolkit will search for GS1 Databar barcodes. The following types of GS1 Databar are supported:

  • RSS-14
  • RSS-14 Truncated
  • RSS-14 Stacked
  • RSS-14 Stacked Omnidirectional
  • RSS Limited
  • RSS Expanded
  • RSS Expanded Stacked

Please note the the bounding rectangle for stacked versions of the barcode currently only includes either the top-most or bottom-most element of the stack.

Reading supplementary data

Some GS1 Databar barcodes encode supplementary data in the form of a micro-PDF-417 barcode above the linear portion of the barcode. To read the supplementary portion set ReadMicroPDF417 to True and ensure that DatabarOptions includes the option to read supplementary barcodes.

 

Default value =   FALSE

Visual Basic using the OCX

[form.]SoftekBarcode.ReadDatabar = value

Visual Basic using the DLL

Private Declare Function stGetReadDatabar Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadDatabar Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadDatabar (value)
value = stGetReadDatabar ()

Visual Basic using COM

oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.ReadDatabar = value
value = oBar.ReadDatabar

VB.Net using the DLL

Private Declare Function stGetReadDatabar Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadDatabar Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadDatabar (value)
value = stGetReadDatabar ()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Bool
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.ReadDatabar = value
value = barcode.ReadDatabar

Visual C++ Using the OCX

BOOL GetReadDatabar() ;
void SetReadDatabar(BOOL value);

Visual C++ Using the DLL

BOOL __stdcall stGetReadDatabar();
BOOL __stdcall stSetReadDatabar(BOOL bNewValue);