Get or set the polarity for this paragraph.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Property Value
Type: CogOCVMaxPolarityConstantsThis read/write property of type CogOCVMaxPolarityConstants may be one of DarkOnLight, LightOnDark, or Unknown.
Events
| Event Type | Reason |
|---|---|
| CogOCVMaxPatternChanged | Fires when this property changes. |
| CogOCVMaxPattern ParagraphChanged | Fires when this property changes, provides more detailed information than the Changed event. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
| InvalidOperationException | If this paragraph iterator does not currently reference a valid paragraph. |
See Also