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 | DPMCodeReadingModes

DPMCodeReadingModes

Mode Properties

DPMCodeReadingModes is a parameter for setting the mode for DPM code reading. It consisits of one or more DPMCodeReadingMode items. 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 DPMCodeReadingMode array “DPMCRM_SKIP”
“DPMCRM_AUTO”
“DPMCRM_GENERAL”
[“DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”, “DPMCRM_SKIP”]

Mode Arguments

LibraryFileName

Sets the file name of the library to load dynamically.

Value Type Value Range Default Value Valid For
string A string value representing file name. ”” All DPMCodeReadingMode items except DPMCRM_SKIP and DPMCRM_AUTO
  • 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 DPMCodeReadingMode items except DPMCRM_SKIP and DPMCRM_AUTO

Setting Methods

As JSON Parameter

DPMCodeReadingModes as a JSON parameter is a JSON Object array. Each JSON Object has a key Mode for setting the mode. The array index decides the priority the mode for DPM code reading. Default values will be used if there is no manual setting.

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

Json Parameter Example

{
    "DPMCodeReadingModes": [
        {
            "Mode": "DPMCRM_GENERAL"
        }
    ]
}

 

As PublicRuntimeSettings Member

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

Struct Struct Member Name Value Type
PublicRuntimeSettings->furtherModes dpmCodeReadingModes DPMCodeReadingMode[8]

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