CogSearchMaxRunParams SearchRegionMode Property Cognex VisionPro 9.8
Gets or sets the region mode which specifies how the region is applied to the input image.

Namespace: Cognex.VisionPro.SearchMax
Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 75.1.0.0
Syntax

public CogRegionModeConstants SearchRegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
The region mode which may be either PixelAlignedBoundingBox or PixelAlignedBoundingBoxAdjustMask. The default is PixelAlignedBoundingBoxAdjustMask.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfSearchRegionMode
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when you attempt to set this to a value other than PixelAlignedBounding or PixelAlignedBoundingBoxAdjustMask.
See Also