Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
BarcodeZoneMinDistanceToImageBorders
is a parameter to specify the minimum distance (in pixels) between the barcode zone and image borders. It is defined as below:
Value Type | Value Range | Default Value |
---|---|---|
int | [0, 0x7fffffff] | 0 |
Remarks
BarcodeZoneMinDistanceToImageBorders
is supported to be set through RuntimeSetting
or JSON template.
PublicRuntimeSettings
MemberBarcodeZoneMinDistanceToImageBorders
can be set dynamically during runtime as a member of PublicRuntimeSettings
struct.
Code Snippet in C++
//...other codes
PublicRuntimeSettings* pSettings = new PublicRuntimeSettings;
int errorCode = reader->GetRuntimeSettings(pSettings);
pSettings->barcodeZoneMinDistanceToImageBorders = 1;
reader->UpdateRuntimeSettings(pSettings);
delete pSettings;
//...other codes
See Also
PublicRuntimeSettings:
JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & SwiftBarcodeZoneMinDistanceToImageBorders
as a JSON parameter is a number value defined as below.
Key Name | Key Value |
---|---|
BarcodeZoneMinDistanceToImageBorders | A number from [0, 0x7fffffff] |
JSON Example
{
"BarcodeZoneMinDistanceToImageBorders": 1
}
Setting BarcodeZoneMinDistanceToImageBorders
to a appropriate value may speed up the process when barcodes are partly out of the iamge border.
BarcodeZoneMinDistanceToImageBorders
has no influence on the Read Rate.
BarcodeZoneMinDistanceToImageBorders
has no influence on the Accuracy.
latest version