PointerPoint.GetCurrentPoint PointerPoint.GetCurrentPoint PointerPoint.GetCurrentPoint PointerPoint.GetCurrentPoint PointerPoint.GetCurrentPoint Method

Definition

Overloads

GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32)

Retrieves position and state information for the specified pointer.

In most cases, we recommend that you get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform)

Retrieves the transformed information for the specified pointer.

In most cases, we recommend that you get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32) GetCurrentPoint(UInt32)

Retrieves position and state information for the specified pointer.

In most cases, we recommend that you get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

public : static PointerPoint GetCurrentPoint(unsigned int pointerId)
static PointerPoint GetCurrentPoint(uint32_t pointerId) const;
public static PointerPoint GetCurrentPoint(UInt32 pointerId)
Public Shared Function GetCurrentPoint(pointerId As UInt32) As PointerPoint
var pointerPoint = Windows.UI.Input.PointerPoint.getCurrentPoint(pointerId);

Parameters

pointerId
UInt32 UInt32 UInt32

The ID of the pointer.

Returns

Remarks

GetCurrentPoint is a static method.

See also

GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform) GetCurrentPoint(UInt32, IPointerPointTransform)

Retrieves the transformed information for the specified pointer.

In most cases, we recommend that you get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

public : static PointerPoint GetCurrentPoint(unsigned int pointerId, IPointerPointTransform transform)
static PointerPoint GetCurrentPoint(uint32_t pointerId, IPointerPointTransform transform) const;
public static PointerPoint GetCurrentPoint(UInt32 pointerId, IPointerPointTransform transform)
Public Shared Function GetCurrentPoint(pointerId As UInt32, transform As IPointerPointTransform) As PointerPoint
var pointerPoint = Windows.UI.Input.PointerPoint.getCurrentPoint(pointerId, transform);

Parameters

pointerId
UInt32 UInt32 UInt32

The ID of the pointer.

transform
IPointerPointTransform IPointerPointTransform IPointerPointTransform

The transform to apply to the pointer.

Returns

Remarks

GetCurrentPoint is a static method.

This method is useful for getting pointer information relative to a specific element.

See also