Available in LEADTOOLS Barcode Modules. |
LBarCode::GetBarCodeDataItem
#include "ltwrappr.h"
pBARCODEDATA LBarCode::GetBarCodeDataItem(nIndex)
L_INT nIndex; |
/* index value */ |
Returns a pointer to the BARCODEDATA structure at the specified index in the class object's barcode data array.
Parameter |
Description |
nIndex |
Index of the element within the barcode data array to retrieve. This index is zero-based. nIndex must be >= 0 and less than the total number of barcodes read using LBarCode::Read. |
Returns
!NULL |
Pointer to the BARCODEDATA structure of the specified element in the barcode data array. |
0 |
An error occurred. The error code can be retrieved using the LBase::DisplayErrorFromList function. |
Comments
This function provides access to the barcode data read using the LBarCode::Read function.
Passing 0 for nIndex returns the head of the barcode data array.
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::IsDuplicated, LBarCode::GetDuplicatedCount, LBarCode::GetFirstDuplicated, LBarCode::GetNextDuplicated, Class Members |
Topics: |
Example
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::Read().