CogDisplay AutoFitWithGraphics Property Cognex VisionPro 9.20
Gets or sets AutoFitWithGraphics. If true, the image and the graphics are resized to fit within the display whenever the size of the control changes.

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

public virtual bool AutoFitWithGraphics { get; set; }

Property Value

Type: Boolean
The default value is false.
Events

Exceptions

ExceptionCondition
AxHost InvalidActiveXStateException Thrown when the display control is invalid.
See Also