CWIMAQBarcode2DSearchModes Enumeration

NI Vision for Visual Basic

CWIMAQBarcode2DSearchModes Enumeration

CWIMAQBarcode2DCellShapes are constants for the CellShape property of the CWIMAQDataMatrixOptions object.

You can use the following constants with this data type:

  • cwimaqBarcode2DSearchMultiple—The method searches for multiple 2D barcodes.
  • cwimaqBarcode2DSearchSingleAggressive—The method searches for a single 2D barcode using a method that assumes the barcode occupies a majority of the search region. This method skips some of the predictive portions of the search algorithm used by cwimaqBarcode2DSearchSingleConservative, which can lead to improved performance. Using this search mode when the barcode does not occupy a majority of the search region, when the barcode is rotated or when the image is blurry can lead to reduced performance.
  • cwimaqBarcode2DSearchSingleConservative—The method searches for 2D barcodes using the same searching algorithm as cwimaqBarcode2DSearchMultiple but stops searching after locating one valid barcode.