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.

備註

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

適用於