Syntax .net: Object.ScanBarCodeFromBitmap(bitmap) .net/com/ocx: Object.ScanBarCodeFromBitmap(hBitmap) dll: mtScanBarCodeFromBitmap(hBarcode, hBitmap) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). bitmap System.Drawing.Bitmap object hBitmap handle (HBITMAP) to a bitmap. Return Value -1 N/A -2 Bitmap is multi-plane -3 Invalid number of bits per sample -4 Memory allocation error -5 N/A -6,-7,-8 Invalid license key. Remarks Scan the specified device dependent bitmap for bar code strings and return
Syntax .net/com/ocx: Object.ScanBarCodeFromDIB(hDIB) dll: mtScanBarCodeFromDIB(hBarcode, hDIB) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). hDIB handle (HDIB) to a device independent bitmap. Return Value -1 N/A -2 DIB is multi-plane -3 Invalid number of bits per sample -4 Memory allocation error -5 N/A -6,-7,-8 Invalid license key. Remarks Scan the specified device independent bitmap for bar code strings and return the
Syntax .net/com/java/ocx: SetScanRect(tlx, tly, brx, bry, mode) dll: mtSetScanRect(hBarcode, tlx, tly, brx, bry, mode) Parameters hBarcode Handle to an instance of the barcode toolkit (dll only). tlx x coordinate of top left hand corner tly y coordinate of top left hand corner brx x coordinate of bottom right hand corner bry y coordinate of bottom right hand corner mode mapping mode (see below)