LEADTOOLS Workflow Barcode (Leadtools.Workflow.Barcode assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DuplicateCount Property
See Also 
Leadtools.Workflow.Barcode Namespace > BarcodeData Class : DuplicateCount Property



(Read only) Gets the total number of barcodes duplicated for the current barcode.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property DuplicateCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As BarcodeData
Dim value As Integer
 
value = instance.DuplicateCount
C# 
public int DuplicateCount {get;}
C++/CLI 
public:
property int DuplicateCount {
   int get();
}

Property Value

Number of duplicated barcodes.

Remarks

The BarcodeReadActivity updates the value of this property.

LEADTOOLS provides a number of functions to let you work with duplicated barcodes. They let you:

  • Find the number of duplicates of a specific barcode.
  • Determine whether a specific barcode is duplicated.
  • Get the index of the first duplicated barcode.
  • Get the index of a subsequent barcode.

To determine whether a barcode is duplicated, use the IsDuplicated property. If a barcode is duplicated, the DuplicatedIndex property will return the index of the first barcode in the array after the specified barcode, which is a duplicate of the specified barcode. The DuplicateCount property will get the total number of barcodes duplicated for the current barcode.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also