CogMaskGraphic OffsetX Property Cognex VisionPro
The X position, in pixel coordinates, of the upper left corner of the mask image. The X,Y offset controls where the mask graphic will be overlaid on a displayed image.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public int OffsetX { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogMaskGraphic Changed

Fires when the offset changes.

The following state flag may be affected:

    Remarks

    The x-position, in pixel coordinates, of the upper left corner of the mask image. The x- and y-offsets control where the mask graphic will be overlaid on a displayed image.

    Default Value: 0

    See Also