User manual
163
4.94 OBRSetBarWidthAdjustment
This function sets up correction value for adjusting the width of bars of scanned bar code.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetBarWidthAdjustment func
tion.
Calling Sequences
[C++]
int OBRSetBarWidthAdjustment (
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBRSetBarWidthAdjustment ( _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBRSetBarWidthAdjustment (
Int32 dwMode
);
Parameters
dwMode
This parameter is for specifying correction value selecting one of the values listed below for
adjusting the width of bars of scanned bar code. The default is "OBR_BAR_NORMAL".
OBR_BAR_NORMAL : No correction.
OBR_BAR_BLACK0 : Thin black bars.
OBR_BAR_BLACK1 : Significantly thin black bars.
OBR_BAR_WHITE0 : Thin white bars.
OBR_BAR_WHITE1 : Significantly thin white bars.
OBR_BAR_BLACK2 : Thicken black bars.
OBR_BAR_BLACK3 : Significantly thicken black bars.
OBR_BAR_WHITE2 : Thicken white bars.
OBR_BAR_WHITE3 : Significantly thicken white bars.
Return Values
OBR_OK : Normal end
OBR_PRM : Parameter error
OBR_PON : Open already
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error