CogDisplay PanX Property Cognex VisionPro 9.22
Gets or sets the x-position of the image in the display.

Namespace: Cognex.VisionPro.Display
Assembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public virtual double PanX { get; set; }

Property Value

Type: Double
The x-position of the image in the display.
Events

Exceptions

ExceptionCondition
AxHost InvalidActiveXStateException Thrown when the display control is invalid.
Remarks

The PanX value is the distance, in image coordinates, between the image pan anchor and the screen pan anchor. A positive value means that the image anchor point is to the right of the screen anchor; a negative value means that it is to the left.

See Also