CogPMRedLinePattern TrainRegionMode Property Cognex VisionPro 9.8 SR1
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: 75.0.0.0
Syntax

public CogRegionModeConstants TrainRegionMode { get; set; }

Property Value

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

Exceptions

Remarks

If you change this value on a trained pattern object, the pattern will become untrained.

See Also