DpiHelper Class
Microsoft internal use only.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.DpiHelper
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
<ExtensionAttribute> _
Public NotInheritable Class DpiHelper
public static class DpiHelper
The DpiHelper type exposes the following members.
Properties
Name | Description | |
---|---|---|
DeviceDpiX | Microsoft internal use only. | |
DeviceDpiY | Microsoft internal use only. | |
DeviceToLogicalUnitsScalingFactorX | Microsoft internal use only. | |
DeviceToLogicalUnitsScalingFactorY | Microsoft internal use only. | |
LogicalToDeviceUnitsScalingFactorX | Microsoft internal use only. | |
LogicalToDeviceUnitsScalingFactorY | Microsoft internal use only. | |
TransformFromDevice | Microsoft internal use only. | |
TransformToDevice | Microsoft internal use only. |
Top
Methods
Name | Description | |
---|---|---|
DeviceToLogicalUnits(Point) | Microsoft internal use only. | |
DeviceToLogicalUnits(Rect) | Microsoft internal use only. | |
DeviceToLogicalUnits(Size) | Microsoft internal use only. | |
GetDeviceActualSize | Microsoft internal use only. | |
GetDeviceHeight | Microsoft internal use only. | |
GetDeviceLeft | Microsoft internal use only. | |
GetDeviceRect | Microsoft internal use only. | |
GetDeviceTop | Microsoft internal use only. | |
GetDeviceWidth | Microsoft internal use only. | |
LogicalToDeviceUnits(Point) | Microsoft internal use only. | |
LogicalToDeviceUnits(Rect) | Microsoft internal use only. | |
LogicalToDeviceUnits(Size) | Microsoft internal use only. | |
SetDeviceHeight | Microsoft internal use only. | |
SetDeviceLeft | Microsoft internal use only. | |
SetDeviceTop | Microsoft internal use only. | |
SetDeviceWidth | Microsoft internal use only. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.