DecodeBufferRect Method

Description

Reads barcode from a area specified by the parameters rectTop, rectLeft, rectWidth, rectHeight on a variant that contains a safe array of bytes in buffer.

Syntax

Public Sub DecodeBufferRect( _
    ByVal DIBBuffer As VARIANT, _
    ByVal rectLeft As Long, _
    ByVal rectTop As Long , _
    ByVal rectWidth As Long , _
    ByVal rectHeight As Long _ 
)

Parameters

VARIANT
A Variant that contains a safe array of Bytes.
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 buffer is no longer needed.

See Also

ActiveX/COM > Objects > BarcodeReader > DecodeBuffer
ActiveX/COM > Objects > BarcodeReader > ErrorCode
ActiveX/COM > Objects > ReaderOptions > BarcodeFormats
ActiveX/COM > Objects > ReaderOptions > MaxBarcodesNumPerPage
ActiveX/COM > Objects > BarcodeResult
ActiveX/COM > Objects > BarcodeResultArray