Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

ImageParameter Object | BarcodeColourModes

BarcodeColourModes

Mode Properties

BarcodeColourModes is a parameter for setting the mode Sets for the barcode colour mode used to process the barcode zone. It consisits of one or more BarcodeColourMode items and each item has its own arguments. The array index represents the priority of the item. The smaller index is, the higher priority is.

Value Type Value Range Default Value
string array or BarcodeColourMode array “BICM_SKIP”
“BICM_DARK_ON_LIGHT”
“BICM_LIGHT_ON_DARK”
“BICM_DARK_ON_DARK”
“BICM_LIGHT_ON_LIGHT”
“BICM_DARK_LIGHT_MIXED”
“BICM_DARK_ON_LIGHT_DARK_SURROUNDING”
[“BICM_DARK_ON_LIGHT”, “BICM_SKIP”, “BICM_SKIP”, “BICM_SKIP”, “BICM_SKIP”, “BICM_SKIP”, “BICM_SKIP”, “BICM_SKIP”]

Mode Arguments

LightReflection

Sets if there is light reflection on the barocde zone.

Value Type Value Range Default Value
int [0, 1] 1
  • Remarks
    • 0: no light reflection.
    • 1: has light reflection.
LibraryFileName

Sets the file name of the library to load dynamically.

Value Type Value Range Default Value Valid For
string A string value representing the file name. ”” All BarcodeColourMode items except BICM_SKIP
  • Remarks
    The library must be in the same place with Dynamsoft Barcode Reader Library.
LibraryParameters

Sets the parameters passed to the library to load dynamically.

Value Type Value Range Default Value Valid For
string A string value representing parameters. ”” All BarcodeColourMode items except BICM_SKIP

Setting Methods

As JSON Parameter

BarcodeColourModes as a JSON parameter is a JSON Object array. Each JSON Object has several keys for setting the mode and the value of arguments. The array index decides the priority of the modes. Default values will be used if there is no manual setting.

Json Object Json Parameter Name Value Type
ImageParameter BarcodeColourModes JSON Object Array

Json Parameter Example

{
    "BarcodeColourModes": [
        {
            "Mode": "BICM_DARK_ON_LIGHT",
            "LightReflection": 0
        }
    ]
}

 

As PublicRuntimeSettings Member

BarcodeColourModes is a BarcodeColourMode array defines in furtherModes which is a struct member of PublicRuntimeSettings. It is used for setting the modes and the priority. Default value will be used if there is no manual setting.

Struct Struct Member Name Value Type
PublicRuntimeSettings->furtherModes barcodeColourModes BarcodeColourMode[8]

Remarks
GetModeArgument and SetModeArgument need to be called for getting or setting the value of arguments.

See Also

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

latest version

  • Latest Version
  • version 8.2.5
  • version 8.2
  • version 8.1.2
  • version 8.0
  • version 7.6
  • version 7.5
Change +
© 2003–2021 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support