Compartilhar via


DpiHelper.DpiHelperImplementation.GetBitmapScalingModeOverride Method

Definition

Gets the bitmap scaling mode override.

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

Parameters

dpiScalePercent
Int32

The DPI scale percentage.

defaultBitmapScalingMode
BitmapScalingMode

The default bitmap scaling mode.

Returns

Returns BitmapScalingMode.

Applies to