ReturnBarcodeZoneClarity
ReturnBarcodeZoneClarity defines whether to return the clarity of the barcode zone. It is defined as below:
| Value Type | Value Range | Default Value | Template Structure Type |
|---|---|---|---|
| int | [0, 1] | 0 | ImageParameter |
Remarks
- 0: do not return the clarity of the barcode zone.
- 1: return the clarity of the barcode zone.
Setting Methods
ReturnBarcodeZoneClarity is supported to be set through RuntimeSetting or JSON template.
As PublicRuntimeSettings Member
ReturnBarcodeZoneClarity 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->returnBarcodeZoneClarity = 1;
reader->UpdateRuntimeSettings(pSettings);
delete pSettings;
//...other codes
See Also
PublicRuntimeSettings:JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & Swift
As JSON Parameter
ReturnBarcodeZoneClarity as a JSON parameter is a number value defined as below.
| Key Name | Key Value |
|---|---|
| ReturnBarcodeZoneClarity | A number from [0, 1] |
JSON Example
{
"ReturnBarcodeZoneClarity": 1
}