CellSampleSize Property
Syntax
CWIMAQDataMatrixReport.CellSampleSize
Data Type
CWIMAQDataMatrixCellSampleSizes
You can use the following constants with this data type:
- cwimaqDataMatrixCellSampleSize1x1—The method will use a 1×1 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize2x2—The method will use a 2×2 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize3x3—The method will use a 3×3 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize4x4—The method will use a 4×4 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize5x5—The method will use a 5×5 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize6x6—The method will use a 6×6 sized sample from each cell.
- cwimaqDataMatrixCellSampleSize7x7—The method will use a 7×7 sized sample from each cell.
- cwimaqDataMatrixCellSampleSizeAutoDetect—The method will try each sample size and use the one which decodes the Data Matrix barcode within the fewest iterations and utilizing the least amount of error correction.
Purpose
The cell sample size the method used to locate the Data Matrix barcode.
Remarks
If CellSampleSize is set to cwimaqDataMatrixCellSampleSizeAutoDetect in the DataMatrixSearchOptions input parameter, this property indicates the recommended cell sample size for this image.