Partager via


DpiHelper.LogicalToDeviceUnits Method (Icon%, ImageScalingMode)

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

Syntax

'Declaration
Public Shared Sub LogicalToDeviceUnits ( _
    ByRef icon As Icon, _
    scalingMode As ImageScalingMode _
)
public static void LogicalToDeviceUnits(
    ref Icon icon,
    ImageScalingMode scalingMode
)
public:
static void LogicalToDeviceUnits(
    Icon^% icon, 
    ImageScalingMode scalingMode
)
static member LogicalToDeviceUnits : 
        icon:Icon byref * 
        scalingMode:ImageScalingMode -> unit
public static function LogicalToDeviceUnits(
    icon : Icon, 
    scalingMode : ImageScalingMode
)

Parameters

  • icon
    Type: Icon%

.NET Framework Security

See Also

Reference

DpiHelper Class

LogicalToDeviceUnits Overload

Microsoft.VisualStudio.PlatformUI Namespace