CogDisplay DoubleTapZoomCycleLength Property Cognex VisionPro 9.8 SR1
Sets/Gets the number of times double tapping (double clicking) on the Display will zoom in before a final double tap will restore the original zoom/pan settings. DoubleTapZoomCycleLength only applies when MouseMode is set to Touch.

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

public virtual int DoubleTapZoomCycleLength { get; set; }

Property Value

Type: Int32
Default value is 1.0. The DoubleTapZoomCycleLength cannot be less than 1.
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if value is less than 1.
See Also