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: (.NET 4.5.2, x86)
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.

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.

myWebImageViewer.AntialiasDisplay = AntialiasDisplayMode.ReductionOnly;
Visual Basic
myWebImageViewer.AntialiasDisplay = AntialiasDisplayMode.ReductionOnly
See Also