Need better scanning performance?
PartitionModes
Parameter PartitionModes is used to select the mode used to apply partition process when decoding QRCode and DataMatrix.
JSON Structure
Location in template:
BarcodeFormatSpecificationOptions[i]
└── PartitionModes
Parent object: BarcodeFormatSpecification object
Example:
{
"PartitionModes": ["PM_WHOLE_BARCODE"]
}
- This snippet shows only the
PartitionModesparameter.- To use it, embed this parameter within a BarcodeFormatSpecification object.
- For the complete JSON structure, see:
Parameter Details
The structure of the PartitionModes is shown as follow:
| PartitionModes Parameter Details |
|---|
| Type string array |
| Candidate Mode List PM_WHOLE_BARCODE PM_ALIGNMENT_PARTITION |
| Default Value [“PM_WHOLE_BARCODE”,”PM_ALIGNMENT_PARTITION”] |
Candidate Mode introduction
PM_WHOLE_BARCODE
Take the whole barcode for decoding.
PM_ALIGNMENT_PARTITION
Partition the barcode to blocks based on alignment.