Condividi tramite


DeviceToLogicalPixelConverter Class

Converts a device pixel component (x, y) to logical component for the specified axis (use HorizontalAxis for x, VerticalAxis for y value).

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

Syntax

'Dichiarazione
Public Class DeviceToLogicalPixelConverter _
    Inherits ValueConverter(Of Integer, Double)
'Utilizzo
Dim instance As DeviceToLogicalPixelConverter
public class DeviceToLogicalPixelConverter : ValueConverter<int, double>
public ref class DeviceToLogicalPixelConverter : public ValueConverter<int, double>
type DeviceToLogicalPixelConverter =  
    class
        inherit ValueConverter<int, float>
    end
public class DeviceToLogicalPixelConverter extends ValueConverter<int, double>

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.ValueConverter<Int32, Double>
    Microsoft.VisualStudio.PlatformUI.DeviceToLogicalPixelConverter

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

DeviceToLogicalPixelConverter Members

Microsoft.VisualStudio.PlatformUI Namespace