CogDisplay MouseWheelSensitivity Property Cognex VisionPro 9.8
Gets or sets the sensitivity of the mouse wheel when zooming in the display.

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

public virtual double MouseWheelSensitivity { get; set; }

Property Value

Type: Double
The mouse wheel sensitivity, default value is 1.0. The mouse wheel sensitivity cannot be less than 0.
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if value is less than 0
Remarks

Useful mouse wheel sensitivity values will likely be in the range 0.5 to 1.5. Setting the mouse wheel sensitivity 0 will effectivly disable zooming via the mouse wheel. Setting mouse wheel sensitivity to a value that is too high may also disable zooming via the mouse wheel.

MouseWheelSensitivity is ignored if MouseWheelMode is None

See Also