|
|
|||||||||
|
|
|
|
|
|
|||||
|
Help -> Properties -> Overview The Softek Barcode Reader SDK extracts barcode information from images and bitmaps. Overview The Photometric property determines how the toolkit interprets a pixel value in a bitmap. A photometric value of 0 means that a pixel value of 0 if considered to represent the color black. A photometric value of 1 means that a pixel value of 0 is considered to represent the color white. This property is only used in conjunction with the ScanBarcodeFromBitmap method. The ScanBarcodeFromDIB method does not refer to this property because the color map is stored within the DIB. Default value = 0 Visual Basic using the OCX [form.]SoftekBarcode.Photometric = value Visual Basic using the DLL Private Declare Function stGetPhotometric Lib "SoftekBarcode" () As Integer Visual Basic using COM oBar = CreateObject("SoftekATL.Barcode") VB.Net using the DLL Private Declare Function stGetPhotometric Lib "SoftekBarcode" () As Integer VB.Net using the SoftekBarcode Wrapper Class Dim barcode As SoftekBarcode VB.Net using the SoftekBarcodeLib Managed Component
Dim barcode As SoftekBarcodeLib.BarcodeReader Visual C++ Using the OCX BOOL GetPhotometric() ; Visual C++ Using the DLL
BOOL __stdcall stGetPhotometric(); |
| © 1998-2007 Softek Software Ltd. All rights reserved. |
| © 1998-2008 Softek Software Ltd. All rights reserved. |