Freigeben über


DpiHelper.BitmapScalingMode Property

Definition

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:
 static property System::Windows::Media::BitmapScalingMode BitmapScalingMode { System::Windows::Media::BitmapScalingMode get(); };
public static System.Windows.Media.BitmapScalingMode BitmapScalingMode { get; }
static member BitmapScalingMode : System.Windows.Media.BitmapScalingMode
Public ReadOnly Property BitmapScalingMode As BitmapScalingMode

Property Value

The BitmapScalingMode algorithm to be used for resizing images in WPF.

Applies to