#include "ltwrappr.h"
pBARCODEDATA LBarCode::GetBarCodeDataItem(nIndex)
Returns a pointer to the BARCODEDATA structure at the specified index in the class object's barcode data array.
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.
Value | Meaning |
---|---|
!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. |
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
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::Read.