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 True the toolkit will apply a median filter to the image before checking for barcodes. This is a useful option for high resolution images that contain speckles of black and white. It is not recommended for images where the black bars or white spaces are less than 2 pixels wide.

Default Value: False

Visual Basic using the OCX

[form.]SoftekBarcode.MedianFilter = value

Visual Basic using the DLL

Private Declare Function stGetMedianFilter Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetMedianFilter Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetMedianFilter (value)
value = stGetMedianFilter ()

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetMedianFilter Lib "SoftekBarcode" () As Boolean
Private Declare Function stSetMedianFilter Lib "SoftekBarcode" (ByVal newValue As Boolean) As Boolean
stSetMedianFilter (value)
value = stGetMedianFilter ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetMedianFilter(value)
value = barcode.GetMedianFilter()

VB.Net using the SoftekBarcodeLib Managed Component

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

Visual C++ Using the OCX

BOOL GetMedianFilter() ;
void SetMedianFilter(BOOL value);

Visual C++ Using the DLL

BOOL __stdcall stGetMedianFilter();
BOOL __stdcall stSetMedianFilter(BOOL bNewValue);