Gets the total number of barcodes, within the class object's barcode data array, that are duplicates of the barcode at the specified index.
#include "ltwrappr.h"
L_INT LBarCode::GetDuplicatedCount (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.
Value | Meaning |
---|---|
>0 | Total count of duplicated barcodes |
<=0 | An error occurred. Refer to Return Codes. |
The LBarCode::Read function returns the total number of barcodes read.
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::GetFirstDuplicated.