DpiHelper.LogicalToDeviceUnits Method (ImageList, Color, ImageScalingMode)

 

Converts the specified coordinates from logical units to device units.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public static void LogicalToDeviceUnits(
	ref ImageList imageList,
	Color backgroundColor,
	ImageScalingMode scalingMode = ImageScalingMode.Default
)

Parameters

imageList
Type: System.Windows.Forms.ImageList

The image list.

backgroundColor
Type: System.Drawing.Color

The background color.

scalingMode
Type: Microsoft.VisualStudio.PlatformUI.ImageScalingMode

The scaling mode.

Return to top
Show: