|
|
|||||||||
|
|
|
|
|
|
|||||
|
The Softek Barcode Reader SDK extracts barcode information from images and bitmaps. Overview ScanBarCodeFromBitmap(hBitmap) Scan the specified device dependent bitmap for bar code strings and return the number of bar codes found. The image must be single plane. Note that hBitmap is a HANDLE to a BITMAP, not the address of a BITMAP structure. The managed component supports 2 forms of this function: ScanBarCodeFromBitmap(IntPtr hBitmap) ScanBarCodeFromBitmap(System.Drawing.Bitmap bitmap) (Managed Component Only) Scan the specified managed bitmap object for bar code strings and return the number of bar codes found. If the returned value is less than 0 then an error has occurred:
See also ScanBarcodeFromDIB Visual Basic using the OCX count = [form.]SoftekBarcode.ScanBarCodeFromBitmap(hBitmap) Visual Basic using the DLL Private Declare Function stScanBarCodeFromBitmap Lib "SoftekBarcode" (ByVal
hBitmap As Long) As Integer Visual Basic using COM Not yet supported in this interface. VB.Net using the DLL Private Declare Function stScanBarCodeFromBitmap Lib "SoftekBarcode" (ByVal
hBitmap As IntPtr) As Short
VB.Net using the SoftekBarcode Wrapper Class Dim barcode As SoftekBarcode VB.Net using the SoftekBarcodeLib Managed Component Dim barcode As SoftekBarcodeLib.BarcodeReader or nBarCode = barcode.ScanBarCodeFromBitmap(hBitmap) Visual C++ Using the OCX short ScanBarCodeFromBitmap(long hBitmap) Visual C++ Using the DLL short __stdcall stScanBarCodeFromBitmap(long hBitmap); |
| © 1998-2007 Softek Software Ltd. All rights reserved. |
| © 1998-2008 Softek Software Ltd. All rights reserved. |