Gets or sets the x-position of the image in the display.
Namespace: Cognex.VisionPro.DisplayAssembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
Property Value
Type: DoubleThe x-position of the image in the display.
Events
| Event Type | Reason |
|---|---|
| CogDisplay Changed | Fires when the property value is changed. |
Exceptions
| Exception | Condition |
|---|---|
| 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