Click or drag to resize

WebImageViewerAutoZoom Property

Gets or sets a value indicating how the image should be zoomed as the control is resized or the image size changes.

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AutoZoomMode AutoZoom { get; set; }

Property Value

Type: AutoZoomMode
The %Atalasoft.dotImage.WebControls~Atalasoft.Imaging.WebControls.AutoZoomMode% indicating how the image should be zoomed as the control is resized or the image size changes.
Remarks
AutoZoom will override the Zoom property. It can be used to best fit the image, scale to width, or scale to height.
Caution note Caution
WebImageViewer control is available with .NET Framework 3.5 and 4.5.2 only.
Examples
C#
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
Visual Basic
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
Examples
C#
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
Visual Basic
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
See Also