DpiHelper.DpiHelperImplementation.GetImageScalingModeOverride Method

Definition

Gets the image scaling mode override.

protected:
 override Microsoft::VisualStudio::PlatformUI::ImageScalingMode GetImageScalingModeOverride(int dpiScalePercent, Microsoft::VisualStudio::PlatformUI::ImageScalingMode defaultImageScalingMode);
protected:
 override Microsoft::VisualStudio::PlatformUI::ImageScalingMode GetImageScalingModeOverride(int dpiScalePercent, Microsoft::VisualStudio::PlatformUI::ImageScalingMode defaultImageScalingMode);
 override Microsoft::VisualStudio::PlatformUI::ImageScalingMode GetImageScalingModeOverride(int dpiScalePercent, Microsoft::VisualStudio::PlatformUI::ImageScalingMode defaultImageScalingMode);
protected override Microsoft.VisualStudio.PlatformUI.ImageScalingMode GetImageScalingModeOverride (int dpiScalePercent, Microsoft.VisualStudio.PlatformUI.ImageScalingMode defaultImageScalingMode);
override this.GetImageScalingModeOverride : int * Microsoft.VisualStudio.PlatformUI.ImageScalingMode -> Microsoft.VisualStudio.PlatformUI.ImageScalingMode
Protected Overrides Function GetImageScalingModeOverride (dpiScalePercent As Integer, defaultImageScalingMode As ImageScalingMode) As ImageScalingMode

Parameters

dpiScalePercent
Int32

The DPI scale percentage.

defaultImageScalingMode
ImageScalingMode

The default image scaling mode.

Returns

Returns ImageScalingMode.

Applies to