Gets or sets the region mode which specifies how the
TrainRegion
is applied to the
TrainImage.
Namespace: Cognex.VisionPro.SearchMaxAssembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 91.0.0.0
Syntax
Property Value
Type: CogRegionModeConstantsThe region mode which may be either PixelAlignedBoundingBox or PixelAlignedBoundingBoxAdjustMask. Default values is PixelAlignedBoundingBoxAdjustMask.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if you attempt to set this to a value other than PixelAlignedBounding or PixelAlignedBoundingBoxAdjustMask. |
| ObjectDisposedException | Thrown if this CogSearchMaxPattern object has already been disposed. |
Remarks
See Also