CWIMAQEdgePolarities Enumeration

NI Vision for Visual Basic

CWIMAQEdgePolarities Enumeration

Obsolete—Use CWIMAQTwoEdgePolarities instead.

CWIMAQEdgePolarities are the constants for the EdgePolarity parameter of the CWIMAQVision.Caliper method.

You can use the following constants with this data type:

  • cwimaqEdgePolarityDarkToDark—Dark to dark. The leading edge has dark-to-light polarity, and the trailing edge has dark-to-light polarity.
  • cwimaqEdgePolarityDarkToLight—Dark to light. The leading edge has a dark-to-light polarity, and the trailing edge has a light-to-dark polarity.
  • cwimaqEdgePolarityLightToDark—Light to dark. The leading edge has a light-to-dark polarity, and the trailing edge has a dark-to-light polarity.
  • cwimaqEdgePolarityLightToLight—Light to light. The leading edge has a light-to-dark polarity, and the trailing edge has a light-to-dark polarity.
  • cwimaqEdgePolarityNone—None. Polarity is ignored.

See Also

CWIMAQEdgeReportItem.Polarity