Sets the image pan anchor position.
Namespace: Cognex.VisionPro.DisplayAssembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Parameters
- x
- Type: System Double
The x-coordinate of the pan anchor.
- y
- Type: System Double
The y-coordinate of the pan anchor.
- method
- Type: Cognex.VisionPro.Display CogDisplayPanAnchorConstants
How the pan distance is computed.
Events
| Event Type | Reason |
|---|---|
| CogDisplay Changed | Fires when the image pan anchor point changes. |
Exceptions
| Exception | Condition |
|---|---|
| AxHost InvalidActiveXStateException | Thrown when the display control is invalid. |
See Also