This method detects a barcode within the given DIB (Device Independent Bitmap) for 32-bit environment.
Visual Basic |
---|
Public Sub AnalyzehDib( _ ByVal hDIB As Long _ ) |
The AnalyzehDib method is used for recognition of a barcode on the given hDIB image.
The DIB must be a 1-bit monochrome bitmap.
The ReaderAreaX, ReaderAreaY, ReaderAreaWidth, and ReaderAreaHeight are used to create the rectangular area to be analyzed during recognition. If these properties are all set to 0, then the entire image is automatically searched.
It is the responsibility of the caller to free this resource when analysis is complete and the DIB is no longer needed.