L_BarCodeIsDuplicated
#include "ltbar.h"
L_BOOL EXT_FUNCTION L_BarCodeIsDuplicated(pBarCodeDataItem)
pBARCODEDATA pBarCodeDataItem; |
/* pointer to a BARCODEDATA structure */ |
Returns a value that indicates whether the specified barcode is duplicated or not.
Parameter |
Description |
pBarCodeDataItem |
Pointer to the BARCODEDATA structure that contains the barcode information. |
Returns
TRUE |
The specified barcode is duplicated. |
FALSE |
The specified barcode is not duplicated. |
Comments
This function determines if a barcode is duplicated in another location in the bitmap.
To read in barcodes present in a bitmap, use the L_BarCodeRead function. Any item in the barcode array returned by L_BarCodeRead can be passed to L_BarCodeIsDuplicated.
If the specified barcode is duplicated, you can get the duplicated barcode using L_BarCodeGetDuplicated and to get the next duplicated barcode use L_BarCodeGetNextDuplicated.
If you know the index of a duplicated barcode, you can get the first duplicate of that barcode using L_BarCodeGetFirstDuplicated.
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: |
L_BarCodeRead, L_BarCodeWriteExt, L_BarCodeFree, L_BarCodeGetDuplicated, L_BarCodeGetNextDuplicated, L_BarCodeVersionInfo, L_BarCodeGetFirstDuplicated, L_BarCodeWriteExt2 |
Topics: |
Example
For complete sample code refer to MFCBar32 demo.
For an example, refer to L_BarCodeGetDuplicated.