DpiHelper::DpiHelperImplementation::GetBitmapScalingModeOverride Method (Int32, BitmapScalingMode)

Visual Studio 2015
 

Gets the bitmap scaling mode override.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual BitmapScalingMode GetBitmapScalingModeOverride(
	int dpiScalePercent,
	BitmapScalingMode defaultBitmapScalingMode
) override

Parameters

dpiScalePercent
Type: System::Int32

The DPI scale percentage.

defaultBitmapScalingMode
Type: System.Windows.Media::BitmapScalingMode

The default bitmap scaling mode.

Return to top
Show: