Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 2.88 KB

File metadata and controls

87 lines (63 loc) · 2.88 KB
layout title description keywords needAutoGenerateSidebar needGenerateH3Content permalink
default-layout
Dynamsoft Barcode Reader Parameter Reference - RegionDefinition Object
This article shows RegionDefinition Object of Dynamsoft Barcode Reader.
parameter reference, parameters, RegionDefinition
true
false
/parameters/reference/region-definition/index.html

RegionDefinition Object Parameters

Content Organization Control

Parameter Name Description
RegionDefinition.Name The name of the RegionDefinition object.
RegionDefinition.FormatSpecificationNameArray The names of the referenced FormatSpecification object(s).

Name

The name of the RegionDefinition object.

Remarks

It must be a unique name.

JSON Definition

Parent Object Key Name Key Value Type Default Value
RegionDefinition Name string It must be a mandatory setting value.

JSON Example

{
    "Name":"Region1"
}

FormatSpecificationNameArray

The names of the referenced FormatSpecification object(s).

Remarks
An array item is a name of any available FormatSpecifications.

JSON Definition

Parent Object Key Name Key Value Type Default Value
RegionDefinition FormatSpecificationNameArray string Array null

JSON Example

{
    "FormatSpecificationNameArray":[
        "FormatSpecification1",
        "FormatSpecification2"
    ]
}

Cost Control

Parameter Name Description
RegionDefinition.ExpectedBarcodesCount Sets the expected number of barcodes to be decoded for the current region.

Format Control

Parameter Name Description
RegionDefinition.BarcodeFormatIds Sets which types of barcode(s) in BarcodeFormat group 1 to be read in this region.
RegionDefinition.BarcodeFormatIds_2 Sets which types of barcode(s) in BarcodeFormat group 2 to be read in this region.

Image Process Control

Parameter Name Description
RegionDefinition.Top The top-most coordinate or percentage of the region.
RegionDefinition.Left The left-most coordinate or percentage of the region.
RegionDefinition.Right The right-most coordinate or percentage of the region.
RegionDefinition.Bottom The bottom-most coordinate or percentage of the region.
RegionDefinition.MeasuredByPercentage Sets whether or not to use percentages to measure the Region size.