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.0.0.0.0.297 (.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.
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