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.

AllModuleDeviation

AllModuleDeviation specifies the width deviation value (in moduleSize) of a non-standard 1D barcode type relative to the standard barcode width. It is defined as below:

Value Type Value Range Default Value Template Structure Type
int [0, 0x7fffffff] 0 FormatSpecification

Remarks
The unit is barcode module size. For example, if the standard barcode module size is 2px and AllModuleDeviation is 1, then the non-standard barcode module size is 4px.

Setting Methods

AllModuleDeviation can be set via JSON template.

As JSON Parameter

AllModuleDeviation as a JSON parameter is a number value defined as below.

Key Name Key Value
AllModuleDeviation A number from [0, 0x7fffffff]

JSON Example

{
    "AllModuleDeviation": 1
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: