Visual.PointToScreen(Point) 方法

定義

將表示 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
Public Function PointToScreen (point As Point) As Point

參數

point
Point

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

傳回

Point

螢幕座標中已轉換的 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.

適用於