BitmapResolution
Overview
BitmapResolution is the resolution of the bitmap to be scanned, in dots per inch. This value only effects the expected size of the quiet area around a barcode and for most images can be left to the default value.
Default value = 200
Visual Basic using the OCX
[form.]SoftekBarcode.BitmapResolution = value
Visual Basic using the DLL
Private Declare Function stGetBitmapResolution Lib "SoftekBarcode" () As Integer
Private Declare Function stSetBitmapResolution Lib "SoftekBarcode" (ByVal newValue As Integer) As Integer
stSetBitmapResolution( value)
value = stGetBitmapResolution()
Visual Basic using COM
oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.BitmapResolution = value
value = oBar.BitmapResolution
VB.Net using the DLL
Private Declare Function stGetBitmapResolution Lib "SoftekBarcode" () As Short
Private Declare Function stSetBitmapResolution Lib "SoftekBarcode" (ByVal newValue As Short) As Short
stSetBitmapResolution(value)
value = stGetBitmapResolution()
VB.Net using the SoftekBarcode Wrapper Class
Dim barcode As SoftekBarcode
..........
barcode.SetBitmapResolution(value)
value = barcode.GetBitmapResolution()
VB.Net using the SoftekBarcodeLib Managed Component
Not implemented yet
Visual C++ Using the OCX
short GetBitmapResolution() ;
void SetBitmapResolution (short value);
Visual C++ Using the DLL
short __stdcall stGetBitmapResolution() ;
short __stdcall stSetBitmapResolution (short value);
|