CogOCVMaxParagraphIterator Polarity Property Cognex VisionPro
Get or set the polarity for this paragraph.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public CogOCVMaxPolarityConstants Polarity { get; set; }

Property Value

Type: CogOCVMaxPolarityConstants
This read/write property of type CogOCVMaxPolarityConstants may be one of DarkOnLight, LightOnDark, or Unknown.
Events

Event TypeReason
CogOCVMaxPatternChangedFires when this property changes.
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf this paragraph iterator does not currently reference a valid paragraph.
See Also