Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Barcode C++ Class Library Help

LBarCode::GetBarCodeDataItem

Show in webframe

#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:

Programming with LEADTOOLS Barcode

Barcode Function Functions: Getting Barcode Information

Example

For complete sample code, refer to the BarCode demo.

For an example, refer to LBarCode::Read().

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.