Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

ModuleSizeRangeArray

ModuleSizeRangeArray defines the range of module size (in pixels) while barcode searching and result filtering. It is not set by default which means there is no limitation on the barcode module size.

Setting Methods

ModuleSizeRangeArray can be set via JSON template.

As JSON Parameter

ModuleSizeRangeArray as a JSON parameter is a JSON Object array defined as below.

Key Name Key Value
ModuleSizeRangeArray A JSON Object array while each Object is defined as below.
Key Name Key Value Description
MinValue A number from [0, 0x7fffffff] Sets the minimum barcode module size.
MaxValue A number from [0, 0x7fffffff] Sets the maximum barcode module size.

JSON Example

{
    "ModuleSizeRangeArray": [
    {
        "MinValue": 3,
        "MaxValue": 20
    }
    ]
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: