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; }
Public Property AutoZoom As AutoZoomMode
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 |
---|
WebImageViewer control is available with .NET Framework 3.5 and 4.5.2 only. |
Examples myWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
Examples myWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
See Also