Need better scanning performance?
BarcodeZoneWidthToHeightRatioRangeArray
Parameter BarcodeZoneWidthToHeightRatioRangeArray defines the allowed width-to-height ratio range of the barcode zone for barcode searching.
Remarks
- Introduced in version 11.4.1000.
JSON Structure
Location in template:
BarcodeFormatSpecificationOptions[i]
└── BarcodeZoneWidthToHeightRatioRangeArray
Parent object: BarcodeFormatSpecification object
Example:
{
"BarcodeZoneWidthToHeightRatioRangeArray": [
{
"MinValue": 100,
"MaxValue": 200
}
]
}
- This snippet shows only the
BarcodeZoneWidthToHeightRatioRangeArrayparameter.- To use it, embed this parameter within a BarcodeFormatSpecification object.
- For the complete JSON structure, see:
Parameter Details
Parameter BarcodeZoneWidthToHeightRatioRangeArray consists of a group of width-to-height ratio range objects. Each object includes the minimum and maximum value of the ratio range, expressed as a percentage (width/height × 100).
| Child Parameter Name | Child Parameter Summary |
|---|---|
| MinValue |
Description Defines the minimum width-to-height ratio of the barcode zone, expressed as a percentage. |
| Type int |
|
| Range [0, 10000] |
|
| MaxValue |
Description Defines the maximum width-to-height ratio of the barcode zone, expressed as a percentage. |
| Type int |
|
| Range [0, 10000] |
Default Settings
If the BarcodeZoneWidthToHeightRatioRangeArray is not configured in your template file, the following settings will be used as the default settings. An empty array means no restriction on the width-to-height ratio.
{
"BarcodeZoneWidthToHeightRatioRangeArray": []
}