CogDisplay PopupMenu Property Cognex VisionPro 9.22 SR1
Gets or sets whether the user can right-click to bring up a pop-up menu that controls the behavior of the display.

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

public virtual bool PopupMenu { get; set; }

Property Value

Type: Boolean
True if the user can right-click to bring up the pop-up menu.
Events

Exceptions

ExceptionCondition
AxHost InvalidActiveXStateException Thrown when the display control is invalid.
Remarks

The user can use the pop-up menu, shown below, to change the mouse mode, turn grid lines on and off, fit the image, and reset the Zoom to 1.0

See Also