| 
   Available in LEADTOOLS Barcode Modules. 
  | 
LBarCode::GetDuplicatedCount
#include "ltwrappr.h"
L_INT LBarCode::GetDuplicatedCount (nIndex)
| 
 L_INT nIndex;  | 
 /* index value */  | 
Gets the total number of barcodes, within the class object's barcode data array, that are duplicates of the barcode at the specified index.
| 
 Parameter  | 
 Description  | 
| 
 nIndex  | 
 Index of a barcode in the class object's barcode data array. This index is zero-based. nIndex must be >= 0 and less than the total number of barcodes read using the LBarCode::Read function.  | 
Returns
| 
 >0  | 
 Total count of duplicated bar codes  | 
| 
 <=0  | 
 An error occurred. Refer to Return Codes.  | 
Comments
The LBarCode::Read function returns the total number of barcodes read.
Required DLLs and Libraries
| 
 LTBAR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application  | 
See Also
| 
 Functions:  | 
 LBarCode::LBarCode, LBarCode::Read, LBarCode::GetBarCodeDataItem, LBarCode::IsDuplicated, LBarCode::GetFirstDuplicated, LBarCode::GetNextDuplicated, LBarCode::Write, Class Members  | 
| 
 Topics:  | 
Example
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::GetFirstDuplicated().