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%
- scalingMode
Type: Microsoft.VisualStudio.PlatformUI.ImageScalingMode
.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.