ImageViewerAutoZoom Property

Gets or sets whether the control automatically adjusts the zoom to fit the image to the control. It is automatically set to when Zoom is set (either programatically or by the user, using the mouse).
Default value: .

See the online help for an animated image example.

Definition

Namespace: KGySoft.WinForms.Controls
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[DefaultValueAttribute(false)]
public bool AutoZoom { get; set; }

Property Value

Boolean

Examples

  Tip

See the Examples section of the ImageViewer class for an animated image example.

See Also