Partager via


DpiHelper.GetImageScalingModeOverride(Int32, ImageScalingMode) Method

Definition

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

Parameters

dpiScalePercent
Int32
defaultImageScalingMode
ImageScalingMode

Returns

Returns ImageScalingMode.

Applies to