DpiAwareness.LogicalToDeviceVector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LogicalToDeviceVector(IntPtr, Vector) |
Converts a Vector from logical units to device units. |
LogicalToDeviceVector(Visual, Vector) |
Converts a Vector from logical units to device units. |
LogicalToDeviceVector(IntPtr, Vector)
Converts a Vector from logical units to device units.
public:
[System::Runtime::CompilerServices::Extension]
static System::Windows::Vector LogicalToDeviceVector(IntPtr hwnd, System::Windows::Vector vector);
public static System.Windows.Vector LogicalToDeviceVector (this IntPtr hwnd, System.Windows.Vector vector);
static member LogicalToDeviceVector : nativeint * System.Windows.Vector -> System.Windows.Vector
<Extension()>
Public Function LogicalToDeviceVector (hwnd As IntPtr, vector As Vector) As Vector
Parameters
Returns
A new Vector in device units.
Applies to
LogicalToDeviceVector(Visual, Vector)
Converts a Vector from logical units to device units.
public:
[System::Runtime::CompilerServices::Extension]
static System::Windows::Vector LogicalToDeviceVector(System::Windows::Media::Visual ^ visual, System::Windows::Vector vector);
public static System.Windows.Vector LogicalToDeviceVector (this System.Windows.Media.Visual visual, System.Windows.Vector vector);
static member LogicalToDeviceVector : System.Windows.Media.Visual * System.Windows.Vector -> System.Windows.Vector
<Extension()>
Public Function LogicalToDeviceVector (visual As Visual, vector As Vector) As Vector
Parameters
Returns
A new Vector in device units.