ImageScalingMode ImageScalingMode ImageScalingMode ImageScalingMode ImageScalingMode ImageScalingMode Enum

Definition

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

public enum class ImageScalingMode
public enum class ImageScalingMode
enum ImageScalingMode
public enum ImageScalingMode
type ImageScalingMode = 
Public Enum ImageScalingMode
Inheritance
ImageScalingModeImageScalingModeImageScalingModeImageScalingModeImageScalingModeImageScalingMode

Fields

Bicubic Bicubic Bicubic Bicubic Bicubic Bicubic 4
Bilinear Bilinear Bilinear Bilinear Bilinear Bilinear 3
BorderOnly BorderOnly BorderOnly BorderOnly BorderOnly BorderOnly 1

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

Default Default Default Default Default Default 0

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

HighQualityBicubic HighQualityBicubic HighQualityBicubic HighQualityBicubic HighQualityBicubic HighQualityBicubic 6

Smooth results, without distortions, but fuzzy.

HighQualityBilinear HighQualityBilinear HighQualityBilinear HighQualityBilinear HighQualityBilinear HighQualityBilinear 5

Smooth results, without distortions, but fuzzy.

MixedNearestNeighborHighQualityBicubic MixedNearestNeighborHighQualityBicubic MixedNearestNeighborHighQualityBicubic MixedNearestNeighborHighQualityBicubic MixedNearestNeighborHighQualityBicubic MixedNearestNeighborHighQualityBicubic 7
NearestNeighbor NearestNeighbor NearestNeighbor NearestNeighbor NearestNeighbor NearestNeighbor 2

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

Applies to