Polarity Property

NI Vision for Visual Basic

Polarity Property

Syntax

CWIMAQQRDescriptionOptions.Polarity

Data Type

CWIMAQQRPolarities

You can use the following constants with this data type:

  • cwimaqQRPolarityAutoDetect—The method should determine the polarity of the QR code.
  • cwimaqQRPolarityBlackOnWhite—The method should search for a QR code with dark data on a bright background.
  • cwimaqQRPolarityWhiteOnBlack—The method should search for a QR code with bright data on a dark background.

Purpose

Specifies the data-to-background contrast for the QR code.

Remarks

The default is cwimaqQRPolarityAutoDetect.