LEADTOOLS WCF Barcode (Leadtools.Services.Barcode.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
DuplicatedIndex Property
See Also 
Leadtools.Services.Barcode.DataContracts Namespace > BarcodeData Class : DuplicatedIndex Property



The DuplicatedIndex Property is available in LEADTOOLS Document and Medical Imaging toolkits.

(Read only) Returns the index of the first barcode that is a duplicate of the specified barcode.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="DuplicatedIndex", IsRequired=True)>
Public ReadOnly Property DuplicatedIndex As Integer
Visual Basic (Usage)Copy Code
Dim instance As BarcodeData
Dim value As Integer
 
value = instance.DuplicatedIndex
C# 
[DataMemberAttribute(Name="DuplicatedIndex", IsRequired=true)]
public int DuplicatedIndex {get;}
C++/CLI 
[DataMemberAttribute(Name="DuplicatedIndex", IsRequired=true)]
public:
property int DuplicatedIndex {
   int get();
}

Property Value

A zero-based index of the first barcode that is a duplicate of the specified barcode.

Example

Remarks

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: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features