Partilhar via


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:
 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.

Applies to