Barcode1DReaderGetBarcodeCount Method

See Also     Examples     Applies To

Returns the number of barcode detected by the Barcode1DReaderDoScan function.

Syntax

object.Barcode1DReaderGetBarcodeCount ()

The Barcode1DReaderGetBarcodeCount 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

1D Barcode Recognition

Visual Basic Sample

Detect and read barcode from bitmap


Object.CreateImageFromFile("c:\test.tif")
Object.Barcode1DReaderDoScan()
For i = 1 To Imaging1.Barcode1DReaderGetBarcodeCount
   MsgBox "Value: " + Object.Barcode1DReaderGetBarcodeValue(i)
   MsgBox "Type: " + str(Object.Barcode1DReaderGetBarcodeType(i))
   MsgBox "Angle: " + str(Object.Barcode1DReaderGetBarcodeSkewAngle(i))
Next i
Object.Barcode1DReaderClear()
Object.CloseNativeImage()






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.