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.
Please note that if this property is set to a non-zero value than ColorProcessLevel is effectively set to a value of 0. It is recommended to set this property to 0 and control the accuracy of reading from color images through the ColorProcessLevel property.
Default value = 0
void STSetParameter(hBarcode, ST_CONTRAST, uint16 *value) ;
void STGetParameter(hBarcode, ST_CONTRAST, uint16 *value) ;
e.g
// Set the ColorThreshold to 140
#include "barcode.h"
uint16 value = 140 ;
STSetParameter(hBarcode, ST_CONTRAST, &value) ;