ImgBarDecoder User Control

ImgBarDecoder Class Library

ImgBarDecoder.ReadBarcodes(String) Boolean

ImgBarDecoder.ReadBarcodes(System.Drawing.Bitmap) Boolean

 

Loads the image filename in memory and reads all valid barcodes.

 

Reads all valid barcodes from a in memory bitmap.

 

 

[Visual Basic]

Public Overloads Function ReadBarcodes( _

ByVal filename as String) As Boolean

 

Parameters

    filename.

        The file path of the image.

 

Return Value

    The status of read barcodes function.

 

[Visual Basic]

Public Overloads Function ReadBarcodes( _

ByVal img As System.Drawing.Bitmap) As Boolean

 

Parameters

    img

        The loaded image bitmap.

 

Return Value

    The status of read barcodes function.

 

Example

[Visual Basic] The following example loads the image filename in memory and reads all valid barcodes.

 

[Visual Basic]

BarcodeReader1.ReadBarcodes("C:\Test\01.tif")

 

Example

[Visual Basic] The following example reads all valid barcodes from a in memory bitmap.

 

[Visual Basic]

Dim bmp as New Bitmap("C:\Test\01.tif")

BarcodeReader1.ReadBarcodes(bmp)

 

 

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family.

Documentation Version 1.5