ImageScalingMode Enumeration

 

The scaling mode to use for Windows Forms/Win32 images.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public enum ImageScalingMode

Member nameDescription
Bicubic

Bilinear

BorderOnly

Keep the actual image unscaled, add a border around the image.

Default

Let the shell pick what looks best depending on the current DPI zoom factor.

HighQualityBicubic

Smooth results, without distortions, but fuzzy.

HighQualityBilinear

Smooth results, without distortions, but fuzzy.

MixedNearestNeighborHighQualityBicubic

NearestNeighbor

Sharp results, but pixelated, and possibly distorted unless multiple of 100% scaling.

Return to top
Show: