bardecode.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation Code39NeedStartStop - expect the Code 39 start/stop character

Code39NeedStartStop - expect the Code 39 start/stop character

Overview

When set to TRUE the toolkit will only report Code 39 barcodes that start and end with a * character. 

Setting this property to FALSE is not recommended for the following reasons:

  1. It is not a valid Code 39 barcode without the start and stop * character.
  2. Without a start/stop * character, a Code 39 barcode reads with 2 different values, left to right, and right to left. The toolkit will report it as 2 different barcodes unless the scan direction is restricted to one direction only.
  3. The probablility of a false positive reading is increased significantly by setting this property to FALSE.

Default value =  TRUE 

Visual Basic using the OCX

[form.]SoftekBarcode.Code39NeedStartStop = value

Visual Basic using the DLL

Private Declare Function stGetCode39NeedStartStop Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetCode39NeedStartStop Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetCode39NeedStartStop (value)
value = stGetCode39NeedStartStop ()

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetCode39NeedStartStop Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetCode39NeedStartStop Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetCode39NeedStartStop (value)
value = stGetCode39NeedStartStop ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetCode39NeedStartStop(value)
value = barcode.GetCode39NeedStartStop()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

BOOL GetCode39NeedStartStop() ;
void SetCode39NeedStartStop(BOOL value);

Visual C++ Using the DLL

BOOL __stdcall stGetCode39NeedStartStop();
BOOL __stdcall stSetCode39NeedStartStop(BOOL bNewValue);