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

定義

將螢幕座標中的 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 Point

螢幕座標中的 Point 值。The Point value in screen coordinates.

傳回

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

備註

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

適用於