DpiHelper.ImageScalingMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retuns 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.
public:
static property Microsoft::VisualStudio::PlatformUI::ImageScalingMode ImageScalingMode { Microsoft::VisualStudio::PlatformUI::ImageScalingMode get(); };
public:
static property Microsoft::VisualStudio::PlatformUI::ImageScalingMode ImageScalingMode { Microsoft::VisualStudio::PlatformUI::ImageScalingMode get(); };
public static Microsoft.VisualStudio.PlatformUI.ImageScalingMode ImageScalingMode { get; }
static member ImageScalingMode : Microsoft.VisualStudio.PlatformUI.ImageScalingMode
Public ReadOnly Property ImageScalingMode As ImageScalingMode
Property Value
The ImageScalingMode algorithm to be used for resizing images in WinForms/Win32.