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

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 73.0.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
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
CogOCVMaxPatternChangedFires when this property changes.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf the associated CogOCVMaxPattern object does not recognize this iterator.
See Also