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

Help -> Properties -> Overview

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

Overview

When set to TRUE the OCX will include the barcode check digit in the returned string. 

Note: This property only applies to barcode types with built in check digits (e.g Code 128).   

Default value =     FALSE

Visual Basic using the OCX

[form.]SoftekBarcode.ShowCheckDigit = value

Visual Basic using the DLL

Private Declare Function stGetShowCheckDigit Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetShowCheckDigit Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetShowCheckDigit (value) value = stGetShowCheckDigit ()

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetShowCheckDigit Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetShowCheckDigit Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetShowCheckDigit (value) value = stGetShowCheckDigit ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetShowCheckDigit(value)
value = barcode.GetShowCheckDigit()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

BOOL GetShowCheckDigit() ;
void SetShowCheckDigit(BOOL value) ;

Visual C++ Using the DLL

BOOL __stdcall stGetShowCheckDigit();
BOOL __stdcall stSetShowCheckDigit(BOOL bNewValue);