DataMatrixCodeParams
Description
Specifies range of possible data matrix codes.
Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Default | Description |
---|---|---|---|
Polarity | Polarity | Any | Specifies whether code is darker or brighter than the background |
MinRowCount | int | 8 | Minimal number of module rows |
MaxRowCount | int | 32 | Maximal number of module rows |
MinColumnCount | int | 8 | Minimal number of module columns |
MaxColumnCount | int | 32 | Maximal number of module columns |
MinModuleSize | real | 4 | Minimal size of a module in pixels |
MaxModuleSize | real | 40 | Maximal size of a module in pixels |
ExpectedGapSize | DataMatrixGapSize | Small | Highest distance between neighboring marks in the Finder Pattern |
MaxRectangleRatio | real | 4.0f | Length ratio between the longer and the shorter side of the code's bounding rectangle |
MaxSlant | real | 20.0f | Maximal deviation from the right angle in the corner of the Finder Pattern |
AllowPerspective | bool | true | Allows codes with perspective distortion (up to a certain level) |
AllowOversizedModules | bool | true | Allows codes with foreground modules overlapping background modules |