CogLineMax RegionMode Property Cognex VisionPro 9.24
Gets or sets the technique, PixelAlignedBoundingBoxAdjustMask or PixelAlignedBoundingBox, used to apply the region to the inspection image.

Namespace: Cognex.VisionPro.LineMax
Assembly: Cognex.VisionPro.LineMax (in Cognex.VisionPro.LineMax.dll) Version: 91.0.0.0
Syntax

public CogRegionModeConstants RegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
The default is PixelAlignedBoundingBoxAdjustMask
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
NotSupportedException The property is set to AffineTransform
ArgumentException The supplied value is not a member of CogRegionModeConstants
Remarks

If no region is used then this property is ignored.
See Also