Documentation
Table of contents

BarcodeComplementModes

Parameter BarcodeComplementModes defines how to complement the missing parts of a barcode.

Example

{
    "BarcodeComplementModes": [
        {
            "Mode": "BCM_GENERAL" 
        }
    ]
}

Parameter Summary

Parameter BarcodeComplementModes consist of a group of barcode complement mode objects. Each barcode complement mode object includes a candidate mode and a series of auxiliary mode arguments.

Mode Arguments

The mode arguments of the barcode complement mode object are shown as follow:

Mode Argument Name Mode Argument Summary
Mode
(Required)
Description
Specifies a barcode complement mode.
Type
String
Candidate Mode List
BCM_GENERAL
BCM_AUTO
BCM_SKIP
Default Value
BCM_SKIP
LibraryFileName
(Optional)
Description
Sets the file name of the library to load dynamically.
Type
String
Range
A string value representing file name.
Default Value
""
Valid For
All modes.
LibraryParameters
(Optional)
Description
The library must be in the same place with Dynamsoft Barcode Reader Library.
Type
String
Range
A string value representing parameters.
Default Value
""
Valid For
All modes.

Default Settings

Barcode complement mode is not implemented by default

{
    "BarcodeComplementModes" : 
    [
        {
        "Mode" : "BCM_SKIP"
        }
   ]
}

Candidate Modes Introduction

BCM_GENERAL

Complements the barcode using the general algorithm. This mode has the following arguments for further customizing.

Available Mode Arguments:

  • LibraryFileName
  • LibraryParameters

BCM_AUTO

Lets the library choose a mode automatically. Not supported yet

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.30
      • Version 2.2.20
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +