Gets or sets the train region mode. This mode specifies how the
train region is applied to the train image.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 93.1.0.0
Syntax
Property Value
Type: CogRegionModeConstantsThe train region mode. Default value is PixelAlignedBoundingBoxAdjustMask.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is not PixelAlignedBoundingBox or PixelAlignedBoundingBoxAdjustMask. |
Remarks
If you change this value on a trained pattern object, the pattern will become untrained.
See Also