Visual.PointToScreen(Point) Visual.PointToScreen(Point) Visual.PointToScreen(Point) Method

定义

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

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

参数

point
Point Point Point

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

返回

屏幕坐标中转换后的 Point 值。The converted Point value in screen coordinates.

注解

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

适用于