DpiHelper.GetBitmapScalingModeOverride(Int32, BitmapScalingMode) Method
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.
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.