DpiHelper Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.DpiHelper

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class DpiHelper
public static class DpiHelper
[ExtensionAttribute]
public ref class DpiHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type DpiHelper =  class end
public final class DpiHelper

The DpiHelper type exposes the following members.

Properties

  Name Description
Public propertyStatic member DeviceDpiX Microsoft internal use only.
Public propertyStatic member DeviceDpiY Microsoft internal use only.
Public propertyStatic member DeviceToLogicalUnitsScalingFactorX Microsoft internal use only.
Public propertyStatic member DeviceToLogicalUnitsScalingFactorY Microsoft internal use only.
Public propertyStatic member LogicalToDeviceUnitsScalingFactorX Microsoft internal use only.
Public propertyStatic member LogicalToDeviceUnitsScalingFactorY Microsoft internal use only.
Public propertyStatic member TransformFromDevice Microsoft internal use only.
Public propertyStatic member TransformToDevice Microsoft internal use only.

Top

Methods

  Name Description
Public methodStatic member DeviceToLogicalUnits(Point) Microsoft internal use only.
Public methodStatic member DeviceToLogicalUnits(Rect) Microsoft internal use only.
Public methodStatic member DeviceToLogicalUnits(Size) Microsoft internal use only.
Public methodStatic member GetDeviceActualSize Microsoft internal use only.
Public methodStatic member GetDeviceHeight Microsoft internal use only.
Public methodStatic member GetDeviceLeft Microsoft internal use only.
Public methodStatic member GetDeviceRect Microsoft internal use only.
Public methodStatic member GetDeviceTop Microsoft internal use only.
Public methodStatic member GetDeviceWidth Microsoft internal use only.
Public methodStatic member LogicalToDeviceUnits(Point) Microsoft internal use only.
Public methodStatic member LogicalToDeviceUnits(Rect) Microsoft internal use only.
Public methodStatic member LogicalToDeviceUnits(Size) Microsoft internal use only.
Public methodStatic member SetDeviceHeight Microsoft internal use only.
Public methodStatic member SetDeviceLeft Microsoft internal use only.
Public methodStatic member SetDeviceTop Microsoft internal use only.
Public methodStatic member 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.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace