DecodeDIBRect Method
Description
Reads barcode from a area specified by the parameters rectTop, rectLeft, rectWidth, rectHeight on a handle of device-independent bitmap (DIB).
Syntax
Public Sub DecodeDIBRect( _
ByVal hDIB As Long, _
ByVal rectLeft As Long, _
ByVal rectTop As Long , _
ByVal rectWidth As Long , _
ByVal rectHeight As Long _
)
Parameters
-
hDIB
- Handle of Device Independent Bitmap.
-
rectLeft
,rectTop
,rectWidth
,rectHeight
- The coordinates used to specify an area for barcode reading.
Remarks
It is the responsibility of the caller to free this resource (handle) when analysis is complete and the DIB is no longer needed.
See Also
ActiveX/COM > Objects > BarcodeReader > DecodeDIB
ActiveX/COM > Objects > BarcodeReader > ErrorCode
ActiveX/COM > Objects > ReaderOptions > BarcodeFormats
ActiveX/COM > Objects > ReaderOptions > MaxBarcodesNumPerPage
ActiveX/COM > Objects > BarcodeResult
ActiveX/COM > Objects > BarcodeResultArray