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

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 87.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 the associated CogOCVMaxPattern object does not recognize this iterator.
See Also