LBarCode::GetBarCodeDataItem

Summary

Returns a pointer to the BARCODEDATA structure at the specified index in the class object's barcode data array.

Syntax

#include "ltwrappr.h"

pBARCODEDATA LBarCode::GetBarCodeDataItem(nIndex)

Parameters

L_INT 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

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.

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

See Also

Functions

Topics

Example

For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::Read.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Barcode C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.