Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified coordinates from logical units to device units.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Sub LogicalToDeviceUnits ( _
ByRef imageList As ImageList, _
backgroundColor As Color, _
scalingMode As ImageScalingMode _
)
public static void LogicalToDeviceUnits(
ref ImageList imageList,
Color backgroundColor,
ImageScalingMode scalingMode
)
public:
static void LogicalToDeviceUnits(
ImageList^% imageList,
Color backgroundColor,
ImageScalingMode scalingMode
)
static member LogicalToDeviceUnits :
imageList:ImageList byref *
backgroundColor:Color *
scalingMode:ImageScalingMode -> unit
public static function LogicalToDeviceUnits(
imageList : ImageList,
backgroundColor : Color,
scalingMode : ImageScalingMode
)
Parameters
imageList
Type: ImageList%The image list.
backgroundColor
Type: ColorThe background color.
scalingMode
Type: Microsoft.VisualStudio.PlatformUI.ImageScalingModeThe scaling mode.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.