Gets or sets the Y offset (in pixels) for the train image mask.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 65.1.0.0
Syntax
Property Value
Type: Int32The Y offset for the train image mask. Measured in pixels. Default value is zero.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
Remarks
The train image mask is aligned to the train image using the X and Y offset values. These values measure the offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in the pixel coordinates of the train image.
If you change this value on a trained pattern object, the pattern will become untrained.
See Also