User manual

165
4.96 OBRSetMarginCheckRatio
This function sets up threshold values for right and left side space margins for bar code symbol
printed inside quadrangle.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetMarginCheckRatio func
tion.
Calling Sequences
[C++]
int OBRSetMarginCheckRatio(
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBRSetMarginCheckRatio ( _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBRSetMarginCheckRatio (
Int32 dwMode
);
Parameters
dwMode
This parameter is for specifying a threshold value for right and left side space margin
selecting one of the values listed below.
OBR_MARGIN_WIDE : Maximum (Default)
OBR_MARGIN_MIDDLE : Middle
OBR_MARGIN_NARROW : Narrow
OBR_MARGIN_MINIMUM : Minimum
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