CogDisplay GridEnabled Property Cognex VisionPro 9.23
Gets or sets whether the pixel grid is visible.

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

public virtual bool GridEnabled { get; set; }

Property Value

Type: Boolean
True if the pixel grid is visible.
Exceptions

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

The pixel grid is visible when Zoom is greater than or equal to 64.

See Also