StylusEventArgs.GetPosition(IInputElement) StylusEventArgs.GetPosition(IInputElement) StylusEventArgs.GetPosition(IInputElement) StylusEventArgs.GetPosition(IInputElement) Method

定義

スタイラスの位置を取得します。Gets the position of the stylus.

public:
 System::Windows::Point GetPosition(System::Windows::IInputElement ^ relativeTo);
public System.Windows.Point GetPosition (System.Windows.IInputElement relativeTo);
member this.GetPosition : System.Windows.IInputElement -> System.Windows.Point
Public Function GetPosition (relativeTo As IInputElement) As Point

パラメーター

relativeTo
IInputElement IInputElement IInputElement IInputElement

(x, y) 座標のマップ先となる IInputElementThe IInputElement that the (x, y) coordinates are mapped to.

戻り値

relativeTo の座標に基づいて、スタイラスの位置を表す PointA Point that represents the position of the stylus, based on the coordinates of relativeTo.

適用対象