Click or drag to resize

WebImageViewerAntialiasDisplay Property

Gets or sets the quality of the scaled image.

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 AntialiasDisplayMode AntialiasDisplay { get; set; }

Property Value

Type: AntialiasDisplayMode
The AntialiasDisplayMode that indicates the behavior of the display when the image is scaled at different zoom levels.
Remarks

Setting this property to ScaleToGray will cause binary images to be scaled to gray as it is resized. This will increase the readability of zoomed out images, but cause the streaming file size of PNG images to increase slightly.

Caution note Caution
WebImageViewer control is available with .NET Framework 3.5 and 4.5.2 only.
Examples
C#
myWebImageViewer.AntialiasDisplay = AntialiasDisplayMode.ReductionOnly;
Visual Basic
myWebImageViewer.AntialiasDisplay = AntialiasDisplayMode.ReductionOnly
See Also