DpiHelper::LogicalToDeviceUnits Method (Image^, Color, 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( Image^% image, Color backgroundColor, ImageScalingMode scalingMode = ImageScalingMode::Default )
Parameters
- image
-
Type:
System.Drawing::Image^
The image.
- backgroundColor
-
Type:
System.Drawing::Color
The background color.
- scalingMode
-
Type:
Microsoft.VisualStudio.PlatformUI::ImageScalingMode
The scaling mode.
Show: