BarcodeResult Struct
Store the barcode type, content, ranges, etc.
Syntax
typedef struct tagBarcodeResult {
__int64 llFormat;
char* pBarcodeData;
int iBarcodeDataLength;
int iLeft;
int iTop;
int iWidth;
int iHeight;
int iX1;
int iY1;
int iX2;
int iY2;
int iX3;
int iY3;
int iX4;
int iY4;
int iPageNum;
} BarcodeResult, *pBarcodeResult;
Members
llFormat- Barcode type.
- Barcode content string, ends by '\0'.
- Length of barcode content.
- Left position of Barcode Bounding Rectangle.
- Top position of Barcode Bounding Rectangle.
- Width of Barcode Bounding Rectangle.
- Height of Barcode Bounding Rectangle.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- The coordinate of four corners.
- Barcode page number which is useful when decoding multi-page files , 1-based index.
Remarks
The BarcodeResult struct represents the related barcode results, including type, content, ranges, etc.
Example
BarcodeResultArray *paryResult = NULL;
BarcodeResult *pResult = NULL;
int iCount = paryResult->iBarcodeCount;
for(int i = 0; i < iCount; ++i)
{
pResult = paryResult->ppBarcodes[i];
printf("%d: %s\n", i, pResult->pBarcodeData);
}
See Also
C > Structs > ReaderOptions
C > Structs > BarcodeResultArray
C > Function > DecodeFile
C > Constant > BarcodeFormat
C > Constant > Error List