WebImageViewer.AutoZoom 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)
Syntaxpublic 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.
RemarksAutoZoom 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. |
ExamplesmyWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
ExamplesmyWebImageViewer.AutoZoom = AutoZoomMode.BestFit;
myWebImageViewer.AutoZoom = AutoZoomMode.BestFit
See Also