This method detects a barcode within the given DIB (Device Independent Bitmap).
Visual Basic |
---|
Public Sub AnalyzehDib( _ ByVal hDIB As Long _ ) |
- hDIB
- A long which represents a handle to a DIB containing the barcode to be analyzed.
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.