CogShapeExtract Polarity Property Cognex VisionPro 9.7
Specifies the desired polarity for extracting closed shapes. The polarity setting has no effect on the extraction of open shapes.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

public CogShapeExtractPolarityConstants Polarity { get; set; }

Property Value

Type: CogShapeExtractPolarityConstants
Events

Event TypeReason
CogShapeExtract Changed

Fires when this property changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value is not a member of the CogShapeExtractPolarityConstants enumeration.

    Remarks

    Specifies the desired polarity for extracting closed shapes. The polarity setting has no effect on the extraction of open shapes.

    Default Value: DontCare

    See Also