MinOccurrence 

Overview

When the OCX scans the image for barcode it counts the number of times each barcode string occurrs. If the count for a string is the same or greater than PrefOccurrence then the barcode string is counted as a positive match. If no string can be found this way then the OCX looks for strings that occurred with a count of at least MinOccurrence and counts these as positive matches.

Default value =  2

void STSetParameter(hBarcode, ST_MIN_OCCURRENCE, uint16 *value) ;

void STGetParameter(hBarcode, ST_MIN_OCCURRENCE, uint16 *value) ;

e.g

// Set MinOccurrence to 4
#include "barcode.h"
uint16 value = 4 ;
STSetParameter(hBarcode, ST_MIN_OCCURRENCE, &value) ;