bardecode.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation ReadDataMatrix - enable datamatrix barcode reading

ReadDataMatrix - enable datamatrix barcode reading

Overview

When set to TRUE the toolkit will search for DataMatrix barcodes.  

Default value =   FALSE

Visual Basic using the OCX

[form.]SoftekBarcode.ReadDataMatrix = value

Visual Basic using the DLL

Private Declare Function stGetReadDataMatrix Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadDataMatrix Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadDataMatrix (value)
value = stGetReadDataMatrix ()

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetReadDataMatrix Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetReadDataMatrix Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetReadDataMatrix (value)
value = stGetReadDataMatrix ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetReadDataMatrix(value)
value = barcode.GetReadDataMatrix()

VB.Net using the SoftekBarcodeLib Managed Component

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


Visual C++ Using the OCX

BOOL GetReadDataMatrix() ;
void SetReadDataMatrix(BOOL value);

Visual C++ Using the DLL

BOOL __stdcall stGetReadDataMatrix();
BOOL __stdcall stSetReadDataMatrix(BOOL bNewValue);