Visual.PointFromScreen(Point) 方法

定義

將螢幕座標中的 Point 轉換為 Point,表示 Visual 的目前座標系統。Converts 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 值。The Point value in screen coordinates.

傳回

已轉換的 Point 值,表示 Visual 的目前座標系統。The converted Point value that represents the current coordinate system of the Visual.

備註

使用 PointToScreen 方法,將代表目前 Visual 座標系統的 Point,轉換成螢幕座標中的 PointUse the PointToScreen method to convert a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.

適用於