LogicalToElementPoint Method
Collapse the table of content
Expand the table of content

MultiScaleImage.LogicalToElementPoint Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a point with logical pixel coordinates relative to the MultiScaleImage from a logical point (values between 0 and 1).

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Function LogicalToElementPoint ( _
	logicalPoint As Point _
) As Point

Parameters

logicalPoint
Type: System.Windows.Point
The logical point to translate into logical pixel coordinates relative to the MultiScaleImage.

Return Value

Type: System.Windows.Point
A point with logical pixel coordinates relative to the MultiScaleImage translated from logicalPoint.

This method does the opposite of the ElementToLogicalPoint method.

Logical coordinates (also known as normalized coordinates) are between 0 and 1. Using this method, you take a point that uses logical coordinates and translate it into a point with logical pixel coordinates relative to a location in the MultiScaleImage.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft