CellSampleSize Property

NI Vision for Visual Basic

CellSampleSize Property

Syntax

CWIMAQDataMatrixSearchOptions.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

Specifies the sample size, in pixels, the method should take to determine if each cell is on or off.

Remarks

The default value is cwimaqDataMatrixCellSampleSizeAutoDetect.