DpiHelper.BitmapScalingMode 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 BitmapScalingMode algorithm to be used for resizing images in WPF. 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\BitmapScalingXXX = (BitmapScalingMode)value, with XXX the zoom factor in percents, e.g. BitmapScaling150, etc. Note that for WPF scaling, there is an additional registry value that applies for zoom factors > 200%, UseBitmapPreScalingXXX
public:
property System::Windows::Media::BitmapScalingMode BitmapScalingMode { System::Windows::Media::BitmapScalingMode get(); };
public System.Windows.Media.BitmapScalingMode BitmapScalingMode { get; }
member this.BitmapScalingMode : System.Windows.Media.BitmapScalingMode
Public ReadOnly Property BitmapScalingMode As BitmapScalingMode
Property Value
Returns Unspecified.