Compartilhar via


DeviceToLogicalPixelConverter Class

Definition

Caution

This API is now deprecated.

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

public ref class DeviceToLogicalPixelConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<int, double>
[Windows::Foundation::Metadata::WebHostHidden]
class DeviceToLogicalPixelConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<int, double>
public class DeviceToLogicalPixelConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<int,double>
[System.Obsolete]
public class DeviceToLogicalPixelConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<int,double>
type DeviceToLogicalPixelConverter = class
    inherit ValueConverter<int, double>
[<System.Obsolete>]
type DeviceToLogicalPixelConverter = class
    inherit ValueConverter<int, double>
Public Class DeviceToLogicalPixelConverter
Inherits ValueConverter(Of Integer, Double)
Inheritance
DeviceToLogicalPixelConverter
Attributes

Constructors

DeviceToLogicalPixelConverter()

Microsoft internal use only.

Methods

Convert(Int32, Object, CultureInfo)

Converts a device coordinate component provided in 'value' parameter to logical pixel component. Note that 'parameter' parameter need to be either HorizontalAxis or VerticalAxis to determine which axis is going to be used for the conversion.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(TTarget, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)

Applies to