CogPMRedLinePattern TrainRegionMode Property Cognex VisionPro 9.24
Gets or sets the train region mode. This mode specifies how the train region is applied to the train image.

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

public CogRegionModeConstants TrainRegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
The train region mode. Default value is PixelAlignedBoundingBoxAdjustMask.
Events

Exceptions

ExceptionCondition
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