Partager via


DpiHelper.GetBitmapScalingModeOverride(Int32, BitmapScalingMode) Method

Definition

Gets the bitmap scaling mode override.

protected:
 virtual System::Windows::Media::BitmapScalingMode GetBitmapScalingModeOverride(int dpiScalePercent, System::Windows::Media::BitmapScalingMode defaultBitmapScalingMode);
protected virtual System.Windows.Media.BitmapScalingMode GetBitmapScalingModeOverride (int dpiScalePercent, System.Windows.Media.BitmapScalingMode defaultBitmapScalingMode);
abstract member GetBitmapScalingModeOverride : int * System.Windows.Media.BitmapScalingMode -> System.Windows.Media.BitmapScalingMode
override this.GetBitmapScalingModeOverride : int * System.Windows.Media.BitmapScalingMode -> System.Windows.Media.BitmapScalingMode
Protected Overridable Function GetBitmapScalingModeOverride (dpiScalePercent As Integer, defaultBitmapScalingMode As BitmapScalingMode) As BitmapScalingMode

Parameters

dpiScalePercent
Int32
defaultBitmapScalingMode
BitmapScalingMode

Returns

Returns BitmapScalingMode.

Applies to