DpiHelper.DpiHelperImplementation.GetImageScalingModeOverride 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 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.