DpiHelper.LogicalToDeviceUnits Method (Bitmap, ImageScalingMode)
Visual Studio 2015
Converts the specified coordinates from logical units to device units.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public static void LogicalToDeviceUnits( ref Bitmap bitmapImage, ImageScalingMode scalingMode = ImageScalingMode.Default )
Parameters
- bitmapImage
-
Type:
System.Drawing.Bitmap
The bitmap.
- scalingMode
-
Type:
Microsoft.VisualStudio.PlatformUI.ImageScalingMode
The scaling mode.
Show: