DpiHelper::ImageScalingMode Property

Visual Studio 2015
 

Gets the ImageScalingMode algorithm to be used for resizing images in WinForms/Win32. This allows the shell to control the algorithm depending on the DPI zoom scale, and allows the user to override it via registry settings like General\ImageScalingXXX = (ImageScalingMode)value, with XXX the zoom factor in percents, e.g. ImageScaling150, etc.

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

public:
property ImageScalingMode ImageScalingMode {
	ImageScalingMode get();
}

Property Value

Type: Microsoft.VisualStudio.PlatformUI::ImageScalingMode

The ImageScalingMode algorithm.

Return to top
Show: