Gets or sets the touch distance in pixels.
Namespace: Cognex.VisionPro.DisplayAssembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 83.0.0.0 (83.0.0.0)
Syntax
Property Value
Type: Int32The touch distance.
Exceptions
| Exception | Condition |
|---|---|
| CogException | Thrown when the value is less than 1. |
| AxHost InvalidActiveXStateException | Thrown when the display control is invalid. |
Remarks
The touch distance is the minimum number of pixels within which the mouse must be from an interactive graphic to be considered touching the graphic.
See Also