|
|
|||||||||
|
|
|
|
|
|
|||||
|
Help -> Properties -> ColorThreshold The Softek Barcode Reader SDK extracts barcode information from images and bitmaps. ColorThreshold Overview ColorThreshold is the color value used by the control to decide whether a pixel should be considered to be black or white. The value should be in the range 0 to 255. If ColorThreshold has a value of 0 then the toolkit will perform a median analysis of the image to determine the best value to use. Default value = 128 Visual Basic using the OCX [form.]SoftekBarcode.ColorThreshold = value Visual Basic using the DLL Private Declare Function stGetColorThreshold Lib "SoftekBarcode" () As Integer Visual Basic using COM oBar = CreateObject("SoftekATL.Barcode") VB.Net using the DLL Private Declare Function stGetColorThreshold Lib "SoftekBarcode" () As Short VB.Net using the SoftekBarcode Wrapper Class Dim barcode As SoftekBarcode VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader Visual C++ Using the OCX short GetColorThreshold() ; Visual C++ Using the DLL short __stdcall stGetColorThreshold() ; |
| © 1998-2006 Softek Software Ltd. All rights reserved. |