Export (0) Print
Expand All

MultiScaleImage.LogicalToElementPoint Method

Silverlight

Gets a point with 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)

public Point LogicalToElementPoint(
	Point logicalPoint
)

Parameters

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

Return Value

Type: System.Windows.Point
A point with 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 pixel coordinates relative to a location in the MultiScaleImage.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft