Link Search Menu Expand Document

ReaderReadFromHBitmap Method (IntPtr, Int32, Int32)

Reads barcodes from the image specified by GDI HBITMAP handle. You can find decoded barcodes in FoundBarcodes property.

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
public void ReadFromHBitmap(
	IntPtr hbmp,
	int pageIndex,
	int pageCount
)

Parameters

hbmp
Type: SystemIntPtr
The HBITMAP handle for an image.
pageIndex
Type: SystemInt32
Zero-based index of the page to find barcodes at.
pageCount
Type: SystemInt32
The number of pages to read barcodes from. -1 means "to the last page".

Implements

IReaderReadFromHBitmap(IntPtr, Int32, Int32)
See Also

Reference