CogDisplay TouchDistance Property Cognex VisionPro
Gets or sets the touch distance in pixels.

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

public virtual int TouchDistance { get; set; }

Property Value

Type: Int32
The touch distance.
Exceptions

ExceptionCondition
CogException Thrown when the value is less than 1.
AxHost InvalidActiveXStateException Thrown when the display control is invalid.
See Also