StylusEventArgs.GetPosition(IInputElement) Method

Definition

Obtient la position du stylet.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

Parameters

relativeTo
IInputElement

IInputElement auquel les coordonnées (x, y) sont mappées.The IInputElement that the (x, y) coordinates are mapped to.

Returns

Point

Point qui représente la position du stylet, selon les coordonnées de relativeTo.A Point that represents the position of the stylus, based on the coordinates of relativeTo.

Applies to