CogDisplay AutoFit Property Cognex VisionPro 9.10
Gets or sets AutoFit. if true, the image is resized to fit 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: 79.0.0.0 (79.0.0.0)
Syntax

public virtual bool AutoFit { 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