Partager via


DpiHelper.LogicalToDeviceUnits Method (ImageList%, ImageScalingMode)

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, _
    scalingMode As ImageScalingMode _
)
public static void LogicalToDeviceUnits(
    ref ImageList imageList,
    ImageScalingMode scalingMode
)
public:
static void LogicalToDeviceUnits(
    ImageList^% imageList, 
    ImageScalingMode scalingMode
)
static member LogicalToDeviceUnits : 
        imageList:ImageList byref * 
        scalingMode:ImageScalingMode -> unit
public static function LogicalToDeviceUnits(
    imageList : ImageList, 
    scalingMode : ImageScalingMode
)

Parameters

  • imageList
    Type: ImageList%

    The image list.

.NET Framework Security

See Also

Reference

DpiHelper Class

LogicalToDeviceUnits Overload

Microsoft.VisualStudio.PlatformUI Namespace