|
|
|||||||||
|
|
|
|
|
|
|||||
|
The Softek Barcode Reader SDK extracts barcode information from images and bitmaps. OverviewSetScanRect(TopLeftX, TopLeftY, BottomRightX, BottomRightY, nMappingMode) SetScanRect specifies the bounding rectangle in the image that should be searched for barcodes. To clear the rectangle and search the entire image set the rectangle to (-1, -1, -1, -1). The top left hand corner of an image is (0,0). nMappingMode can have the following values:
Visual Basic using the OCX [form.]SoftekBarcode.SetScanRect(TopLeftX, TopLeftY, BottomRightX, BottomRightY, nMappingMode) Visual Basic using the DLL Private Declare Function stSetScanRect Lib "SoftekBarcode" (ByVal TopLeftX As Long, ByVal TopLeftY As Long, ByVal BottomRightX As Long, ByVal BottomRightY As Long, ByVal nMappingMode As Integer) As Bool stSetScanRect(TopLeftX, TopLeftY, BottomRightX, BottomRightY, nMappingMode) Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode") VB.Net using the DLL Private Declare Function stSetScanRect Lib "SoftekBarcode" (ByVal TopLeftX As Long, ByVal TopLeftY As Long, ByVal BottomRightX As Long, ByVal BottomRightY As Long, ByVal nMappingMode As Integer) As Bool stSetScanRect(TopLeftX, TopLeftY, BottomRightX, BottomRightY, nMappingMode) strBarType = stGetBarStringType(n) VB.Net using the SoftekBarcode Wrapper Class Dim barcode As SoftekBarcode
.......... VB.Net using the SoftekBarcodeLib Managed Component Not implemented yet. Visual C++ Using the OCX short SetScanRect(long TopLeftX, long TopLeftY, long BottomRightX, long BottomRightY, long nMappingMode); Visual C++ Using the DLL BOOL __stdcall stSetScanRect(long TopLeftX, long TopLeftY, long BottomRightX, long BottomRightY, short nMappingMode); |
| © 1998-2007 Softek Software Ltd. All rights reserved. |
| © 1998-2008 Softek Software Ltd. All rights reserved. |