Visual.PointFromScreen(Point) Visual.PointFromScreen(Point) Visual.PointFromScreen(Point) Method

定义

将屏幕坐标中的 Point 转换为表示 Point 的当前坐标系的 VisualConverts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.

public:
 System::Windows::Point PointFromScreen(System::Windows::Point point);
public System.Windows.Point PointFromScreen (System.Windows.Point point);
member this.PointFromScreen : System.Windows.Point -> System.Windows.Point

参数

point
Point Point Point

屏幕坐标中的 Point 值。The Point value in screen coordinates.

返回

转换后的 Point 值表示 Visual 的当前坐标系。The converted Point value that represents the current coordinate system of the Visual.

注解

使用方法将表示Visual的当前Point坐标Point系统的转换为屏幕坐标中的。 PointToScreenUse the PointToScreen method to convert a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.

适用于