BarcodeDataMatrixReaderGetBarcodeCount Method

See Also     Examples     Applies To

Returns the number of barcode detected by the BarcodeDataMatrixReaderDoScan function.

Syntax

object.BarcodeDataMatrixReaderGetBarcodeCount ()

The BarcodeDataMatrixReaderGetBarcodeCount syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Long. The number of barcode detected.

Category

2D DataMatrix Barcode Recognition

Visual Basic Sample

Detect and read barcode from bitmap


Object.CreateImageFromFile("c:\test.tif")
Object.BarcodeDataMatrixReaderDoScan()
For i = 1 To Imaging1.BarcodeDataMatrixReaderGetBarcodeCount
   MsgBox "Value: " + Object.BarcodeDataMatrixReaderGetBarcodeValue(i)
Next i
Object.BarcodeDataMatrixReaderClear()
Object.CloseNativeImage()






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.