Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact us Request to publish your help manuals Request to remove your help manuals

Introduction
 » Softek Barcode Reader
Barcode Toolkit Overview
 » Toolkit Interfaces
 » Supported Barcode Types
 » Program Sequence
 » Performance Considerations
Barcode Toolkit Examples
 » Visual Basic Using DLL
 » Visual Basic Using OCX
 » VB.Net
 » Borland Delphi
Methods
 » Methods
 » GetBarString
 » GetBarStringPos & GetBarStringRect
 » GetBarStringType
 » GetBarStringDirection
 » ScanBarCode
 » ScanBarCodeFromBitmap
 » ScanBarCodeFromDIB
 » SetScanRect
Properties
 » Properties
 » AllowDuplicateValues
 » BitmapResolution
 » Code39Checksum
 » ColorThreshold
 » ConvertUPCEToEAN13
 » LineJump
 » ErrorCorrection
 » ExtendedCode39
 » MaxLength
 » MinLength
 » MinOccurrence
 » MinSpaceBarWidth
 » MultipleRead
 » NoiseReduction
 » PageNo
 » Pattern
 » PdfBpp
 » PdfDpi
 » Photometric
 » PrefOccurrence
 » QuietZoneSize
 » ReadCodabar
 » ReadCode128
 » ReadCode25
 » ReadCode25ni
 » ReadCode39
 » ReadEAN13
 » ReadEAN8
 » ReadUPCA
 » ReadUPCE
 » ReadPatchCodes
 » ReadPDF417
 » ReadNumeric
 » ScanDirection
 » ShowCheckDigit
 » SkewTolerance
 » TifSplitMode
 » TifSplitPath
 » UseOverSampling
 

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

Visual Basic using the OCX

[form.]SoftekBarcode.MinOccurrence = value

Visual Basic using the DLL

Private Declare Function stGetMinOccurrence Lib "SoftekBarcode" () As Integer
Private Declare Function stSetMinOccurrence Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetMinOccurrence (value)
value = stGetMinOccurrence ()

Visual Basic using COM

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

VB.Net using the DLL

Private Declare Function stGetMinOccurrence Lib "SoftekBarcode" () As Short
Private Declare Function stSetMinOccurrence Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetMinOccurrence (value)
value = stGetMinOccurrence ()

Barcode Generator Bookkeeping software Barcode software
Business financial software Billing software Accounting software

 

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetMinOccurrence(value)
value = barcode.GetMinOccurrence()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
Dim value As Long
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.MinOccurrence = value
value = barcode.MinOccurrence

Visual C++ Using the OCX

int GetMinOccurrence() ;
void SetMinOccurrence (int value);

Visual C++ Using the DLL

short __stdcall stGetMinOccurrence();
short __stdcall stSetMinOccurrence(short nNewValue);

Home | Contact us | Request to publish your help manuals | Request to remove your help manuals