DpiHelper.DpiHelperImplementation.GetBitmapScalingModeOverride 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:
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.